vtkCaptionRepresentation does not support Chinese


When I pass in the Chinese parameter in SetCaption, the running result does not show my Chinese, is it not supported in UTF-8 format? Is there any good workaround?

虽然没遇到这个问题,但是在开发中应该尽量避免中文使用。

1 Like

哈哈,碰到国人很开心,:grinning:。但是还是想让它输入中文 :thinking:

It’s probably more that the font doesn’t support Chinese characters. Does it work better if you use a font that isn’t one of VTK’s built-in ones (I don’t know how to do this myself, only that it should be possible)?