phpdftk API Documentation

Font extends PdfObject
in package

Base PDF Font object (/Type /Font).

Table of Contents

Constants

PDF_TYPE  = 'Font'

Properties

$baseFont  : PdfName|null
$encoding  : PdfReference|PdfName|null
$firstChar  : int|null
$fontDescriptor  : PdfReference|null
$generationNumber  : int
$lastChar  : int|null
$objectNumber  : int
$subtype  : PdfName|null
$toUnicode  : PdfReference|null
$widths  : PdfArray|null

Methods

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

PDF_TYPE

public mixed PDF_TYPE = 'Font'

Properties

$firstChar

public int|null $firstChar = null

$generationNumber

public int $generationNumber = 0

$lastChar

public int|null $lastChar = null

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