i want to show chinese characters in 3d view widget using this code
view.cornerAnnotation().SetText(vtk.vtkCornerAnnotation.UpperRight,"Something")
but can only show ascii characters, the non ascii part is missing
i want to show chinese characters in 3d view widget using this code
view.cornerAnnotation().SetText(vtk.vtkCornerAnnotation.UpperRight,"Something")
but can only show ascii characters, the non ascii part is missing
You need to choose a font that has Chinese characters. See a complete example here: https://github.com/liwind/VTK-Chinese-Font