SetaPDF_Core_Font_CidType0 Class representing a Type 0 CID font

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

Class hierarchy

Implements

Summary

Properties

$_dictionary

protected SetaPDF_Core_Type_Dictionary SetaPDF_Core_Font_CidType0::$_dictionary

The dictionary of the CID font

$_fontDescriptor

protected SetaPDF_Core_Font_Descriptor SetaPDF_Core_Font_CidType0::$_fontDescriptor

The font descriptor object

$_indirectObject

protected SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_Font_CidType0::$_indirectObject

The indirect object of the CID font


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.

getDefaultWidth()

public SetaPDF_Core_Font_Cid::getDefaultWidth (
void
): string

Get the default width for glyphs in the CIDFont.

getDictionary()

Get the font dictionary.

getFontDescriptor()

Get the font descriptor object.

getFontName()

public SetaPDF_Core_Font_Cid::getFontName (
void
): string

Get the font name.

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
): mixed

Get the Subtype entry of the font dictionary.

getVerticalMetrics()

Get the vertical metrics in the CIDFont.