Represents a standard PDF font registered inside a document.
Summary
Functions
Builds the PDF dictionary directly from a built-in font definition.
Creates a registered font from a built-in font definition.
Builds the PDF dictionary for a registered font.
Types
@type encoding() :: :win_ansi | :builtin
@type family() :: :helvetica | :times | :courier | :symbol | :zapf_dingbats
@type style() :: :regular | :bold | :italic | :bold_italic
Functions
Builds the PDF dictionary directly from a built-in font definition.
This function can be used before the font receives its indirect object reference and resource name.
@spec new(map(), binary(), PaperForge.Reference.t()) :: t()
Creates a registered font from a built-in font definition.
Builds the PDF dictionary for a registered font.