.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Font::TTF::GDEF 3" .TH Font::TTF::GDEF 3 2024-07-13 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Font::TTF::GDEF \- Opentype GDEF table support .SH DESCRIPTION .IX Header "DESCRIPTION" The GDEF table contains various global lists of information which are apparantly used in other places in an OpenType renderer. But precisely where is open to speculation... .SH "INSTANCE VARIABLES" .IX Header "INSTANCE VARIABLES" There are up to 5 tables in the GDEF table, each with their own structure: .IP GLYPH 4 .IX Item "GLYPH" This is an Font::TTF::Coverage Class Definition table containing information as to what type each glyph is. .IP ATTACH 4 .IX Item "ATTACH" The attach table consists of a coverage table and then attachment points for each glyph in the coverage table: .RS 4 .IP COVERAGE 8 .IX Item "COVERAGE" This is a coverage table .IP POINTS 8 .IX Item "POINTS" This is an array of point elements. Each element is an array of curve points corresponding to the attachment points on that glyph. The order of the curve points in the array corresponds to the attachment point number specified in the MARKS coverage table (see below). .RE .RS 4 .RE .IP LIG 4 .IX Item "LIG" This contains the ligature caret positioning information for ligature glyphs .RS 4 .IP COVERAGE 8 .IX Item "COVERAGE" A coverage table to say which glyphs are ligatures .IP LIGS 8 .IX Item "LIGS" An array of elements for each ligature. Each element is an array of information for each caret position in the ligature (there being number of components \- 1 of these, generally) .RS 8 .IP FMT 12 .IX Item "FMT" This is the format of the information and is important to provide the semantics for the value. This value must be set correctly before output .IP VAL 12 .IX Item "VAL" The value which has meaning according to FMT .IP DEVICE 12 .IX Item "DEVICE" For FMT = 3, a device table is also referenced which is stored here .RE .RS 8 .RE .RE .RS 4 .RE .IP MARKS 4 .IX Item "MARKS" This class definition table defines the classes of mark glyphs that can be selected for processing using the MarkAttachmentType field of lookup FLAG words. .IP MARKSETS 4 .IX Item "MARKSETS" Contains an array of coverage tables indexed by the FILTER value of a lookup. .SH METHODS .IX Header "METHODS" .ie n .SS $t\->read .el .SS \f(CW$t\fP\->read .IX Subsection "$t->read" Reads the table into the data structure .ie n .SS $t\->out($fh) .el .SS \f(CW$t\fP\->out($fh) .IX Subsection "$t->out($fh)" Writes out this table. .ie n .SS $t\->\fBminsize()\fP .el .SS \f(CW$t\fP\->\fBminsize()\fP .IX Subsection "$t->minsize()" Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever. .ie n .SS $t\->update .el .SS \f(CW$t\fP\->update .IX Subsection "$t->update" Sort COVERAGE tables. .SH AUTHOR .IX Header "AUTHOR" Martin Hosken . .SH LICENSING .IX Header "LICENSING" Copyright (c) 1998\-2016, SIL International (http://www.sil.org) .PP This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.