1Font::TTF::Glyf(3) User Contributed Perl Documentation Font::TTF::Glyf(3)
2
3
4
6 Font::TTF::Glyf - The Glyf data table
7
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 will not 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
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
41 None known
42
44 Martin Hosken <http://scripts.sil.org/FontUtils>.
45
47 Copyright (c) 1998-2016, SIL International (http://www.sil.org)
48
49 This module is released under the terms of the Artistic License 2.0.
50 For details, see the full text of the license in the file LICENSE.
51
52
53
54perl v5.32.1 2021-01-27 Font::TTF::Glyf(3)