class final Core · roukmoute/pdf 0.9.1

PDF\Specification\Dictionary\Type1FontDictionaryTable111\WidthsEntry
Table 111, /Widths; PDF type: array; Required except for the standard 14 fonts; indirect reference preferred.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Specification\SchemaEntry

Definition in the specification

Table 111 · Entries in a Type 1 font dictionary
ISO 32000-1:2008, §9.6.2.1 · PDF page 263 ↗

/Widths array

(Required except for the standard 14 fonts; indirect reference preferred) 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 value of MissingWidth from the FontDescriptor entry for this font shall be used. The glyph widths shall be measured in units in which 1000 units correspond to 1 unit in text space. These widths shall be consistent with the actual widths given in the font program. For more information on glyph widths and other glyph metrics, see 9.2.4, "Glyph Positioning and Metrics". Beginning with PDF 1.5, the special treatment given to the standard 14 fonts is deprecated. Conforming writers should represent all fonts using a complete font descriptor. For backwards capability, conforming readers shall still provide the special treatment identified for the standard 14 fonts.

Qualifier: Required except for the standard 14 fonts; indirect reference preferred

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\Specification\Dictionary\Type1FontDictionaryTable111\WidthsEntry · View the code ↗

Inherited methods

3 methods from parents and contracts

definition()

public function definition(): PDF\Specification\EntryDefinition

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

key()

public function key(): PDF\Syntax\Object\NameType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

value()

public function value(): PDF\Syntax\FileStructure\BasicType

Declared by PDF\Syntax\Object\DictionaryObject\Entry · View the code ↗

Properties

Constants