SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_Glyph This class represents a glyph in a sub-setting context.
File: /SetaPDF v2/Core/Font/TrueType/Subset/Table/GlyphData/Glyph.php
See https://www.microsoft.com/typography/otspec/glyf.htm#glyphHeaders for more details.
Class hierarchy
Summary
Properties
$_glyfTable
protected SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_Glyph::$_glyfTable
The "glyf" table.
$_glyph
protected SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_Glyph::$_glyph
The original glyph.
Methods
__construct()
The constructor.
Parameters
getDescription()
public SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_Glyph::getDescription (
void
): SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_DescriptionGets the description.
getOrigin()
public SetaPDF_Core_Font_TrueType_Subset_Table_GlyphData_Glyph::getOrigin (
void
): SetaPDF_Core_Font_TrueType_Table_GlyphData_GlyphGets the original Glyph.
write()
Writes the glyph.
Parameters
- $writer : SetaPDF_Core_Writer_WriterInterface
Exceptions
Throws Exception