Texample2 icon indicating copy to clipboard operation
Texample2 copied to clipboard

Font encodeing setting

Open kotrs opened this issue 10 years ago • 4 comments

Hi, is it possible to set up encoding for the international fonts ?

kotrs avatar Jan 25 '16 11:01 kotrs

What issues do you see with international fonts?

d3alek avatar Jan 26 '16 08:01 d3alek

I need Czech fonts with accents...so I modified the range of character_end to 253...so I got all chars, but the font uses 8859-2 and some chars are incorrect. I need to know, how can I change encoding...TypeFace, Paint and Canvas classes have no charset method.

kotrs avatar Jan 26 '16 09:01 kotrs

You are right - my suggestion would be to try using a different font than the provided Roboto-Regular.ttf and see if that works.

d3alek avatar Jan 28 '16 07:01 d3alek

I tried czech fonts, but Android environment encoding has set different encoding and some chars are displayed incorrectly.

kotrs avatar Jan 28 '16 21:01 kotrs