Man Page: font::ttf::ottags
Operating Environment: debian
Section: 3pm
Font::TTF::OTTags(3pm) User Contributed Perl Documentation Font::TTF::OTTags(3pm)NAMEFont::TTF::OTTags - Utilities for TrueType/OpenType tagsSYNOPSISuse Font::TTF::OTTags qw( %tttags %ttnames %iso639 readtagsfile ); # Look at built-in stuff: $script_tag = $tttags{'SCRIPT'}{'Cypriot Syllabary'}; # returns 'cprt' $lang_name = $ttnames{'LANGUAGE'}{'ALT '}; # returns 'Altai' # Map iso639 tag to/from OT lang tag @isotags = $iso639{'ALT '}; # returns [ 'atv', 'alt' ] $lang_tag = $iso639{'atv'}; # returns 'ALT ' # 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 Built-in data has been derived from Microsofts tag registry at <http://www.microsoft.com/typography/otspec/ttoreg.htm>, updated to draft v1.5 of the OpenType Spec.METHODSreadtagsfile ( filename ) Read a file in the syntax of Tags.txt (included with Microsoft VOLT) to obtain additional/replacement tag definitions. Returns 0 if cannot open the file; else 1. perl v5.10.1 2010-09-18 Font::TTF::OTTags(3pm)
| Related Man Pages |
|---|
| font::ttf::ttc(3) - centos |
| font::ttf::anchor(3pm) - debian |
| font::ttf::oldcmap(3pm) - debian |
| font::ttf::psnames(3pm) - debian |
| font::ttf::xmlparse(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| awk or sed - Convert 2 lines to 1 line |
| How can I do this in VI editor? |
| Is UNIX an open source OS ? |
| One instance of comparing grep and awk |