Font::TTF::Tags - Utilities for TrueType/OpenType tags
use Font::TTF::Tags qw( %tttags %ttnames readtagsfile ); # Look at built-in stuff: $script_tag = %tttags{'SCRIPT'}{'Cypriot Syllabary'}; $lang_name = %ttnames{'LANGUAGE'}{'Afrikaans'} # Read latest tags file to add to built-in definitions readtagsfile ("C:\\Program Files\\Microsoft VOLT\\TAGS.txt"); First-level keys to %tttags and %ttnames are:
'SCRIPT' -- retrieve script tag or name
'LANGUAGE' -- retrieve language tag or name
'FEATURE' -- retrieve feature tag or name
Read a file in the syntax of Tags.txt (included with Microsoft VOLT) to obtain additional/replacement tag definitions.
Returns 0 if can't open the file; else 1.