phpdftk API Documentation

Type0Font extends PdfObject
in package

Type 0 (composite) font (/Type /Font /Subtype /Type0).

Used for multi-byte character sets such as CJK.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_2

Table of Contents

Constants

PDF_TYPE  = 'Font'

Properties

$baseFont  : PdfName
$descendantFonts  : PdfArray
$encoding  : PdfName|PdfReference|null
$generationNumber  : int
$objectNumber  : int
$subtype  : PdfName
$toUnicode  : PdfReference|null

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