class final Core · roukmoute/pdf 0.6.1
PDF\Specification\Dictionary\Type3FontDictionaryTable112\WidthsEntryTable 112, /Widths; PDF type: array; Required; should be an indirect reference.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
Definition in the specification
Table 112 · Entries in a Type 3 font dictionary
ISO 32000-1:2008, §9.6.5 · PDF page 267 ↗
/Widths array
(Required; should be an indirect reference) An array of (LastChar − FirstChar + 1) widths, each element being the glyph width for the character code that equals FirstChar plus the array index. For character codes outside the range FirstChar to LastChar, the width shall be 0. These widths shall be interpreted in glyph space as specified by FontMatrix (unlike the widths of a Type 1 font, which are in thousandths of a unit of text space). If FontMatrix specifies a rotation, only the horizontal component of the transformed width shall be used. That is, the resulting displacement shall be horizontal in text space, as is the case for all simple fonts.
Qualifier: Required; should be an indirect reference
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\ArrayType|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\Type3FontDictionaryTable112\WidthsEntry |
TABLE | | PDF\Specification\Dictionary\Type3FontDictionaryTable112\WidthsEntry |
VARIABLE | | PDF\Specification\SchemaEntry |