class final Core · roukmoute/pdf 0.6.2

PDF\Document\Fonts\Type0Font
Table 121: explicit identity, named or embedded CMap encoding; optional ToUnicode extraction map.

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 121 · Entries in a Type 0 font dictionary
ISO 32000-1:2008, §9.7.6.1 · PDF page 287 ↗

EntryPDF typeSource requirementTable
/TypenameRequired121
/SubtypenameRequired121
/BaseFontnameRequired121
/Encodingname or streamRequired121
/DescendantFontsarrayRequired121
/ToUnicodestreamOptional121

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\Type0Font · View the code ↗

Declared methods

validateVersion()

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

Declared by PDF\Document\Fonts\Type0Font · 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

DeclarationOrigin and documentation
public readonly PDF\Syntax\Object\DictionaryType $descendantFontPDF\Document\Fonts\Type0Font
public readonly PDF\Document\Fonts\CMaps\Type0Encoding $encodingPDF\Document\Fonts\Type0Font

Constants

NamePHP valueOrigin
COMMON_TABLES
[]
PDF\Specification\SchemaDictionary
TABLE
'121'
PDF\Document\Fonts\Type0Font