Rechercher une page de manuel
Font::TTF::OTTags.3pm
Langue: en
Version: 2008-06-11 (MeeGo - 06/11/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Font::TTF::OTTags - Utilities for TrueType/OpenType tagsSYNOPSIS
use Font::TTF::OTTags qw( %tttags %ttnames readtagsfile ); # Look at built-in stuff: $script_tag = $tttags{'SCRIPT'}{'Cypriot Syllabary'}; $lang_name = $ttnames{'LANGUAGE'}{'AFK '} # 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 Microsoft's tag registry at <http://www.microsoft.com/typography/otspec/ttoreg.htm>, updated to draft v1.5 of the OpenType Spec.
METHODS
readtagsfile ( filename )
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre