I am trying to output text that is Polish and I need to know if there is a way to specifiy the encoding on a truetype font?
I know that if you use a core font you can specify the encoding in the consturctor
ex. Font fontToUse = new Helvetica( Encoder.CentralEurope );
However if I need to create a truetype font ex. Font fontToUse = new TrueTypeFont( System.IO.Path.Combine( "Fonts", "Helvetica.ttf" ));
I can't seem to figure out how to specify the encoding so that the text outputs correctly.
Change encoding for a truetype font
Re: Change encoding for a truetype font
Support · Jan 31, 2007Hello,
In order to use polish characters you will have to use a TrueTypeFont which has support for the polish characters you are using. You will not have to mention about the encoding types when using these truetype fonts.
Thanks,
ceTe Software Support Team.