Unix/Linux Go Back    

CentOS 7.0 - man page for font::ttf::ottags (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Font::TTF::OTTags(3)	       User Contributed Perl Documentation	     Font::TTF::OTTags(3)

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

	 use 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.

   readtagsfile ( 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.16.3				    2011-10-13			     Font::TTF::OTTags(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 05:59 PM.