MantisBT - Old ParaView Bugs
View Issue Details
0000703Old ParaView Bugs public2004-03-24 15:252009-12-09 14:52
David Thompson 
Berk Geveci 
normalfeaturealways
assignedopen 
0000703: Unicode support for annotations
I want to include Greek characters and other math symbols in text annotations and scalar bar labels. I have hacked support for a symbol font, but what's needed is mixed Roman and Greek characters (i.e., Unicode). It looks like ftgl supports Unicode, but VTK's text mapper only uses 8-bit characters while Unicode encodings require wide character support.
No tags attached.
Issue History

Notes
(0002879)
George   
2005-08-11 12:29   
Relative to Unicode support, TextProperty could do with an overhaul. A quick change of 'Input' (on TextMapper) from char * to wchar_t * yields Unicode support but the canned VTK fonts have poor coverage. The only way around is to call SetFaceFileName() on TextProperty with a full path to a font file. I would like VTK to abstract this for me so that the default system font is available and a TextProperty::SetFont( "SimHei" ) is enough to specify an additional font.