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

BUGS

46       None known
47

AUTHOR

49       Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright
50       and licensing.
51
52
53
54perl v5.8.8                       2005-06-14                Font::TTF::Glyf(3)
Impressum