SetaPDF_Core_Font_Cid Abstract class representing a CID font

File: /SetaPDF/Core/Font/Cid.php

Class hierarchy

Implements

Summary

Properties

$_dictionary

The dictionary of the CID font

$_fontDescriptor

$_indirectObject


Methods

__construct()

public SetaPDF_Core_Font_Cid::__construct ( SetaPDF_Core_Type_IndirectObjectInterface $indirectObjectOrDictionary )

The constructor.

Parameters
$indirectObjectOrDictionary : SetaPDF_Core_Type_IndirectObjectInterface
 

getCidSystemInfo()

public array SetaPDF_Core_Font_Cid::getCidSystemInfo ( void )

Get an array with entries that define the character collection of the CIDFont.

getDefaultWidth()

public string SetaPDF_Core_Font_Cid::getDefaultWidth ( void )

Get the default width for glyphs in the CIDFont.

getDictionary()

public SetaPDF_Core_Type_Dictionary SetaPDF_Core_Font_Cid::getDictionary ( void )

Get the font dictionary.

getFontDescriptor()

public SetaPDF_Core_Font_Descriptor SetaPDF_Core_Font_Cid::getFontDescriptor ( void )

Get the font descriptor object.

getFontName()

public string SetaPDF_Core_Font_Cid::getFontName ( void )

Get the font name.

getGlyphWidth()

public float|int SetaPDF_Core_Font_Cid::getGlyphWidth ( integer $cid )

Get the width of a glyph/character.

Parameters
$cid : integer
 

getIndirectObject()

public SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_Font_Cid::getIndirectObject ( [ SetaPDF_Core_Document $document = null ] )

Gets an indirect object for this font.

Parameters
$document : SetaPDF_Core_Document
 
Exceptions

Throws InvalidArgumentException

See

getType()

public mixed SetaPDF_Core_Font_Cid::getType ( void )

Get the Subtype entry of the font dictionary.

getVerticalMetrics()

public int[] SetaPDF_Core_Font_Cid::getVerticalMetrics ( void )

Get the vertical metrics in the CIDFont.