Font::TTF::Tags.3pm

Langue: en

Version: 2005-10-06 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Font::TTF::Tags - Utilities for TrueType/OpenType tags

SYNOPSIS

   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

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.