[vtkusers] Show Chinese Character on qvtkwidget

lee lihouxing at yeah.net
Mon Apr 27 21:54:06 EDT 2015


Hi,
     Thanks for your method, but it only works for English character, when
the string contains Chinese characters, errors come up as follow:

*Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx,
line 183
vtkUnicodeString::from_utf8(): not a valid UTF-8 string.

Generic Warning: In ..\..\..\VTK-6.1.0\Common\Core\vtkUnicodeString.cxx,
line 183
vtkUnicodeString::from_utf8(): not a valid UTF-8 string.

ERROR: In ..\..\..\VTK-6.1.0\Rendering\FreeType\vtkTextActor.cxx, line 803
vtkScaledTextActor (00D01410): Cannot compute bounding box.
*





--
View this message in context: http://vtk.1045678.n5.nabble.com/Show-Chinese-Character-on-qvtkwidget-tp5731627p5731648.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list