phpdftk API Documentation

CIDFont extends PdfObject
in package

CIDFont dictionary (/Type /Font /Subtype /CIDFontType0 or /CIDFontType2).

Used as the descendant of a Type0 composite font.

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

Table of Contents

Constants

PDF_TYPE  = 'Font'

Properties

$baseFont  : PdfName
$cidSystemInfo  : CIDSystemInfo
$dw  : int|null
$dw2  : PdfArray|null
$fontDescriptor  : PdfReference|null
$generationNumber  : int
$objectNumber  : int
$subtype  : PdfName
$w  : PdfArray|null
$w2  : PdfArray|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

PDF_TYPE

public mixed PDF_TYPE = 'Font'

Properties

$generationNumber

public int $generationNumber = 0

Methods

__construct()

public __construct(string $subtype, string $baseFontName, CIDSystemInfo $cidSystemInfo) : mixed
Parameters
$subtype : string
$baseFontName : string
$cidSystemInfo : CIDSystemInfo

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