class final Core · roukmoute/pdf 0.6.1

PDF\Document\Fonts\CIDFontType2
Table 117: repertoire-bound or independently normalized Type 2 CID font, with vertical metrics.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Document\Fonts\ManagedFontDictionary

Interfaces : Countable, IteratorAggregate, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Definition in the specification

Table 117 · Entries in a CIDFont dictionary
ISO 32000-1:2008, §9.7.4.1 · PDF page 277 ↗

EntryPDF typeSource requirementTable
/TypenameRequired117
/SubtypenameRequired117
/BaseFontnameRequired117
/CIDSystemInfodictionaryRequired117
/FontDescriptordictionaryRequired; shall be an indirect reference117
/DWintegerOptional117
/WarrayOptional117
/DW2arrayOptional; applies only to CIDFonts used for vertical writing117
/W2arrayOptional; applies only to CIDFonts used for vertical writing117
/CIDToGIDMapstream or nameOptional; Type 2 CIDFonts only117

Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.

Construction

__construct()

Declared by PDF\Document\Fonts\CIDFontType2 · View the code ↗

Declared methods

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Declared by PDF\Document\Fonts\CIDFontType2 · View the code ↗

Inherited methods

12 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

assertUnmanaged()

protected function assertUnmanaged(string $key): void

Declared by PDF\Document\Fonts\ManagedFontDictionary · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

definition()

public function definition(): PDF\Specification\TableDefinition

Declared by PDF\Specification\SchemaDictionary · View the code ↗

entries()

public function entries(): iterable
@return iterable<Entry>

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Specification\SchemaDictionary · View the code ↗

validate()

public function validate(): void
Checks unconditional requirements; conditional and inherited rules remain explicit.

Declared by PDF\Specification\SchemaDictionary · View the code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Declared by PDF\Document\Fonts\ManagedFontDictionary · View the code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Declared by PDF\Document\Fonts\ManagedFontDictionary · View the code ↗

Properties

Constants

NamePHP valueOrigin
COMMON_TABLES
[]
PDF\Specification\SchemaDictionary
TABLE
'117'
PDF\Document\Fonts\CIDFontType2