SetaPDF_Core_Font_CidType0 Class representing a Type 0 CID font

File: /SetaPDF v2/Core/Font/CidType0.php

Class hierarchy

Implements

Summary

Properties

$_dictionary

The dictionary of the CID font

$_fontDescriptor

$_indirectObject


Methods

__construct()

The constructor.

Parameters
$indirectObjectOrDictionary : SetaPDF_Core_Type_IndirectObjectInterface
 

getCidSystemInfo()

public SetaPDF_Core_Font_Cid::getCidSystemInfo (
void
): array

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

Exceptions

Throws SetaPDF_Core_Type_Exception

getDefaultWidth()

public SetaPDF_Core_Font_Cid::getDefaultWidth (
void
): integer

Get the default width for glyphs in the CIDFont.

getDictionary()

Get the font dictionary.

getFontDescriptor()

Get the font descriptor object.

Exceptions

Throws SetaPDF_Core_Font_Exception

getFontName()

public SetaPDF_Core_Font_Cid::getFontName (
void
): string

Get the font name.

Exceptions

Throws SetaPDF_Core_Type_Exception

getGlyphWidth()

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

Get the width of a glyph/character.

Parameters
$cid : integer
 

getIndirectObject()

getType()

public SetaPDF_Core_Font_Cid::getType (
void
): string

Get the Subtype entry of the font dictionary.

Exceptions

Throws SetaPDF_Core_Type_Exception

getVerticalMetrics()

Get the vertical metrics in the CIDFont.