Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

font::ttf::coverage(3pm) [debian man page]

Font::TTF::Coverage(3pm)				User Contributed Perl Documentation				  Font::TTF::Coverage(3pm)

NAME
Font::TTF::Coverage - Opentype coverage and class definition objects DESCRIPTION
Coverage tables and class definition objects are virtually identical concepts in OpenType. Their difference comes purely in their storage. Therefore we can say that a coverage table is a class definition in which the class definition for each glyph is the corresponding index in the coverage table. The resulting data structure is that a Coverage table has the following fields: cover A boolean to indicate whether this table is a coverage table (TRUE) or a class definition (FALSE) val A hash of glyph ids against values (either coverage index or class value) fmt The storage format used is given here, but is recalculated when the table is written out. count A count of the elements in a coverage table for use with add. Each subsequent addition is added with the current count and increments the count. METHODS
new($isCover [, vals]) Creates a new coverage table or class definition table, depending upon the value of $isCover. if $isCover then vals may be a list of glyphs to include in order. If no $isCover, then vals is a hash of glyphs against class values. read($fh) Reads the coverage/class table from the given file handle out($fh, $state) Writes the coverage/class table to the given file handle. If $state is 1 then the output string is returned rather than being output to a filehandle. $c->add($glyphid[, $class]) Adds a glyph id to the coverage table incrementing the count so that each subsequent addition has the next sequential number. Returns the index number of the glyphid added $c->signature Returns a vector of all the glyph ids covered by this coverage table or class @map=$c->sort Sorts the coverage table so that indexes are in ascending order of glyphid. Returns a map such that $map[$new_index]=$old_index. $c->out_xml($context) Outputs this coverage/class in XML AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing. perl v5.10.1 2011-02-25 Font::TTF::Coverage(3pm)

Check Out this Related Man Page

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

NAME
Font::TTF::Glyf - The Glyf data table DESCRIPTION
This is a stub table. The real data is held in the loca table. If you want to get a glyf look it up in the loca table as "$f-"{'loca'}{'glyphs'}[$num]>. It will not be here! The difference between reading this table as opposed to the loca table is that reading this table will cause updated glyphs to be written out rather than just copying the glyph information from the input file. This causes font writing to be slower. So read the glyf as opposed to the loca table if you want to change glyf data. Read the loca table only if you are just wanting to read the glyf information. This class is used when writing the glyphs though. METHODS
$t->read Reads the "loca" table instead! $t->out($fh) Writes out all the glyphs in the parent's location table, calculating a new output location for each one. $t->out_xml($context, $depth) Outputs all the glyphs in the glyph table just where they are supposed to be output! $t->XML_start($context, $tag, %attrs) Pass control to glyphs as they occur $t->XML_end($context, $tag, %attrs) Collect up glyphs and put them into the loca table BUGS
None known AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing. perl v5.16.3 2012-02-23 Font::TTF::Glyf(3)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FOR loop problem: Kindly Help

Hello Friends, I have file called reference.txt which looks like below, columns are been formed by delimiter "|" as shown. I am required to scan whole file line by line & compare 1st 2 columns with new name (ex. ferrari) & new version (2.1). CODE PURPOSE: whnever new project formed... (6 Replies)
Discussion started by: okdev
6 Replies

2. Shell Programming and Scripting

Check the record count in table (table in oracle)

I have requirement: 1) Check the record count in table (table in oracle) 2) If records exists generate the file for existing records and wait for some time then Go to sleep mode and Again check the record count after 10 min.......... (Loop this process if record count >0). 3) Generate touch... (1 Reply)
Discussion started by: kamineni
1 Replies

3. Programming

Test Coverage - executing this code

Hi, I am trying to gain test coverage on the 'fold' program in unix and am having difficulty executing the following code: if(ferror (istream)) { error (0, errno, "%s", filename); if(!STREQ (filename, "-")) fclose (istream); return 1; } if (!STREQ (filename, "-") && fclose... (5 Replies)
Discussion started by: Jakeman1086
5 Replies

4. UNIX and Linux Applications

data unload in oracle 11g unix

:)hi, i work with ids and i've got a task now to load some data from oracle table to ids table. I'm trying to unload data from oracel tables. I use UNLOAD TO <filename> SELECT * FROM <table1>; sql in IDS to unload data to a unl. Is there a equivalent sql in oracle? Or is there any... (0 Replies)
Discussion started by: divak
0 Replies

5. UNIX for Dummies Questions & Answers

Perl on-line class

Hi, Time for me to take a formal class/course on Perl. I was wondering if someone here can recommend an on-line class. My institution will cover the expenses, and therefore, I am not worry about the cost. I am lookin for a beginner course with possibilities to take intermediate and advance... (2 Replies)
Discussion started by: Xterra
2 Replies

6. What is on Your Mind?

A man gets Pwned...

There has been coverage about computers being taken over by big brother and monitoring your every move via the inbuilt camara on computers very recently and reminded me of this aging baby... I remember this from years ago:- Don't **** with a hacker... ... (1 Reply)
Discussion started by: wisecracker
1 Replies