class final Core · pdftoolkit/pdf 0.12.4
PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120\FontWeightEntryISO 32000-2:2020 EC3, table 120, /FontWeight.Inheritance and contracts
Parent : PDF\Specification\SchemaEntry
ISO 32000-2:2020 EC3 definition
Table 120 · Entries common to all font descriptors
§9.8.1 · PDF page 359
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.
/FontWeight integer
Optional integer font weight in the inclusive range 1 to 1000. Values 100, 200, 300, 400, 500, 600, 700, 800 and 900 are recommended. Normal weight is 400 and bold is 700; interpretation varies between fonts.
EC3 correction /FontWeight · Completed · ISO TC 171 SC 2 WG 8 · page PDF 359 · Issue #152
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType|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\FontDescriptorsTable120\FontWeightEntry |
TABLE | | PDF\Specification\Iso32000_2\Dictionary\FontDescriptorsTable120\FontWeightEntry |
VARIABLE | | PDF\Specification\SchemaEntry |