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

NAME

6       Font::TTF::Glyf - The Glyf data table
7

DESCRIPTION

9       This is a stub table. The real data is held in the loca table. If you
10       want to get a glyf look it up in the loca table as
11       "$f-"{'loca'}{'glyphs'}[$num]>. It won't be here!
12
13       The difference between reading this table as opposed to the loca table
14       is that reading this table will cause updated glyphs to be written out
15       rather than just copying the glyph information from the input file.
16       This causes font writing to be slower. So read the glyf as opposed to
17       the loca table if you want to change glyf data. Read the loca table
18       only if you are just wanting to read the glyf information.
19
20       This class is used when writing the glyphs though.
21

METHODS

23   $t->read
24       Reads the "loca" table instead!
25
26   $t->out($fh)
27       Writes out all the glyphs in the parent's location table, calculating a
28       new output location for each one.
29
30   $t->out_xml($context, $depth)
31       Outputs all the glyphs in the glyph table just where they are supposed
32       to be output!
33
34   $t->XML_start($context, $tag, %attrs)
35       Pass control to glyphs as they occur
36
37   $t->XML_end($context, $tag, %attrs)
38       Collect up glyphs and put them into the loca table
39

BUGS

41       None known
42

AUTHOR

44       Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright
45       and licensing.
46
47
48
49perl v5.10.1                      2008-06-11                Font::TTF::Glyf(3)
Impressum