1Font::TTF::OTTags(3)  User Contributed Perl Documentation Font::TTF::OTTags(3)
2
3
4

NAME

6       Font::TTF::OTTags - Utilities for TrueType/OpenType tags
7

SYNOPSIS

9         use Font::TTF::OTTags qw( %tttags %ttnames readtagsfile );
10
11         # Look at built-in stuff:
12         $script_tag = $tttags{'SCRIPT'}{'Cypriot Syllabary'};
13         $lang_name = $ttnames{'LANGUAGE'}{'AFK '}
14
15         # Read latest tags file to add to built-in definitions
16         readtagsfile ("C:\\Program Files\\Microsoft VOLT\\TAGS.txt");
17
18       First-level keys to %tttags and %ttnames are:
19
20           'SCRIPT' -- retrieve script tag or name
21
22           'LANGUAGE' -- retrieve language tag or name
23
24           'FEATURE' -- retrieve feature tag or name
25
26       Built-in data has been derived from Microsoft's tag registry at
27       <http://www.microsoft.com/typography/otspec/ttoreg.htm>, updated to
28       draft v1.5 of the OpenType Spec.
29

METHODS

31   readtagsfile ( filename )
32       Read a file in the syntax of Tags.txt (included with Microsoft VOLT) to
33       obtain additional/replacement tag definitions.
34
35       Returns 0 if can't open the file; else 1.
36
37
38
39perl v5.12.0                      2008-06-11              Font::TTF::OTTags(3)
Impressum