phpdftk API Documentation

FontDescriptor extends PdfObject
in package

Font Descriptor object (/Type /FontDescriptor).

Describes the metrics and other attributes of a font program.

Table of Contents

Constants

PDF_TYPE  = 'FontDescriptor'

Properties

$ascent  : float
$avgWidth  : float
$capHeight  : float
$charSet  : PdfString|null
$cidSet  : PdfReference|null
$descent  : float
$fd  : PdfDictionary|null
$flags  : int
$fontBBox  : PdfArray|null
$fontFamily  : PdfString|null
$fontFile  : PdfReference|null
$fontFile2  : PdfReference|null
$fontFile3  : PdfReference|null
$fontName  : PdfName
$fontStretch  : PdfName|null
$fontWeight  : int|null
$generationNumber  : int
$italicAngle  : float
$lang  : PdfString|null
$leading  : float
$maxWidth  : float
$missingWidth  : float
$objectNumber  : int
$stemH  : float
$stemV  : float
$style  : PdfDictionary|null
$xHeight  : float

Methods

__construct()  : mixed
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Constants

Properties

$generationNumber

public int $generationNumber = 0

Methods

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results