[vtkusers] Chinese or Russian Text

jimmigoo jimmigoo at gmail.com
Fri Feb 17 03:07:11 EST 2017


Hi Rick, 

try to set Font Family as VTK_FONT_FILE, and try to use the attached ttf
files to show Russian (Europe.ttf) characters

m_pvtkTextActor->GetTextProperty()->SetFontFamily(VTK_FONT_FILE);
m_pvtkTextActor->GetTextProperty()->SetFontFile(l_strFontFile.c_str());

Europe.ttf <http://vtk.1045678.n5.nabble.com/file/n5742218/Europe.ttf>  

Hope it helps

Regards, 

jimmigoo



--
View this message in context: http://vtk.1045678.n5.nabble.com/Chinese-or-Russian-Text-tp5742212p5742218.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list