class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\CIDFontDictionaryTable115\CIDToGIDMapEntryISO 32000-2:2020 EC3, table 115, /CIDToGIDMap.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 115 · Entries in a CIDFont dictionary
§9.7.4.1 · PDF page 346
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
Original normative excerpt in English.
/CIDToGIDMap stream or name
(Required for Type 2 CIDFonts with embedded font programs) A specification of the mapping from CIDs to glyph indices. If the value is a stream, the bytes in the stream shall contain the mapping from CIDs to glyph indices: the glyph index for a particular CID value c shall be a 2-byte value stored in bytes 2 × 𝑐 and 2 × 𝑐+ 1, where the first byte shall be the high-order byte. If the value of CIDToGIDMap is a name, it shall be Identity, indicating that the mapping between CIDs and glyph indices is the identity mapping.
Construction
__construct()
public function __construct(PDF\Syntax\Object\NameType|PDF\Syntax\Object\IndirectReference $value)Inherited methods
3 methods from parents and contracts
definition()
public function definition(): PDF\Specification\EntryDefinitionkey()
public function key(): PDF\Syntax\Object\NameTypevalue()
public function value(): PDF\Syntax\FileStructure\BasicTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\NameType $key | PDF\Syntax\Object\DictionaryObject\Entry |
public readonly PDF\Syntax\FileStructure\BasicType $value | PDF\Syntax\Object\DictionaryObject\Entry |
Constants
| Name | PHP value | Origin |
|---|---|---|
KEY | | PDF\Specification\Iso32000_2\Dictionary\CIDFontDictionaryTable115\CIDToGIDMapEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\CIDFontDictionaryTable115\CIDToGIDMapEntry |
VARIABLE | | PDF\Specification\SchemaEntry |