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
$baseFont
public
PdfName
$baseFont
$cidSystemInfo
public
CIDSystemInfo
$cidSystemInfo
$dw
public
int|null
$dw
= null
$dw2
public
PdfArray|null
$dw2
= null
$fontDescriptor
public
PdfReference|null
$fontDescriptor
= null
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
$subtype
public
PdfName
$subtype
$w
public
PdfArray|null
$w
= null
$w2
public
PdfArray|null
$w2
= null
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
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string