support hungarian characters
It would be nice if I can use special chars (áíűüőöúé) i believe it is utf-8, and i tried with an otf file which allegedly support hungarian chars
Please see docs para 3.1.2. Support for special character sets is provided.
Please see docs para 3.1.2. Support for special character sets is provided.
-k how to find ? THSarabunNew.zip
i try -k Thai or -k Thailand
python .\font_to_py.py .\source\THSarabunNew.ttf 20 -x -k Thailand font_20.py
Can't open Thailand for reading.
You have to create the file Thailand. This must contain the glyphs you want to create. I created a file thai containing a copy of the glyphs in your other post. I then did:
[adminpete@meerkat]: ~/Downloads
$ font_to_py.py THSarabunNew.ttf 20 -k thai thailand.py
Writing Python font file.
Height set in 3 passes. Actual height 20 pixels.
Max character width 12 pixels.
Sparse font file.
thailand.py written successfully.
I have now posted the file charsets/Thailand. Thank you for the contribution.