Table of contents
Namespace: Com\Tecnick\Pdf\Font
final class Definition
Source: src/Definition.php:37
Reads the decoded font definition file at the types the font data declares.
Each member is read at the shape of its entry in Load::DEFAULT_DATA. A member that cannot be read that way, or that Load::DEFAULT_DATA does not declare, is dropped.
Methods
normalize()
Normalize the decoded members of a font definition file.
public static normalize(array<array-key,mixed> $raw): array<string,mixed>
Parameters:
$raw(array<array-key,mixed>): Decoded definition file.
Returns: array<string,mixed>: Members to merge into the font data.
Source: src/Definition.php:46