thai2gdl - Create GDL for a standard Thai font
thai2gdl [-a angle] [-c] [-i basegdl] [-x xmlfile] fontfile gdlfile outfont Creates GDL for a Thai font.
-a angle Italic angle in degrees -c Don't create U+25CC if not present -i basegdl which .gdl file to include [thai.gdl] -x file XML point database file for fontfile -z Don't create U+200B (zwsp) if not present
This program does a number of things:
It creates a dotted circle glyph if one is not present and adds it to the font. And also a blank ZWSP (U+200B) glyph if not present.
It reencodes the font to conform to Unicode encoding appropriate to OpenType fonts and also to Win95 Thai editions
It creates attachment points for each glyph
It adds kerning rules to ensure glyphs don't clash.
Since positioning is dependent on italic angle. If thai2gdl is used on an italic font the slope of the font should be given to the program if it is not already specified in the POST table in the font.
thai2ot, thai2volt
To install Font::TTF::Scripts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::TTF::Scripts
CPAN shell
perl -MCPAN -e shell install Font::TTF::Scripts
For more information on module installation, please visit the detailed CPAN module installation guide.