class final Core · roukmoute/pdf 0.6.2
PDF\Specification\Dictionary\CIDFontDictionaryTable117\CIDToGIDMapEntryTable 117, /CIDToGIDMap; PDF type: stream or name; Optional; Type 2 CIDFonts only.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 117 · Entries in a CIDFont dictionary
ISO 32000-1:2008, §9.7.4.1 · PDF page 278 ↗
/CIDToGIDMap stream or name
(Optional; Type 2 CIDFonts only) 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 × c and 2 × c + 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. Default value: Identity. This entry may appear only in a Type 2 CIDFont whose associated TrueType font program is embedded in the PDF file.
Qualifier: Optional; Type 2 CIDFonts only
Conditional descriptions remain traceable. A definition alone does not implement a codec, a signature or every format mechanism. Read the coverage.
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\Dictionary\CIDFontDictionaryTable117\CIDToGIDMapEntry |
TABLE | | PDF\Specification\Dictionary\CIDFontDictionaryTable117\CIDToGIDMapEntry |
VARIABLE | | PDF\Specification\SchemaEntry |