PdfFont
A resolvable font. Three flavours are supported:
Default — the platform's default sans-serif font. Always available, no registration needed. Used when no font is specified anywhere.
System — a font installed on the device by name (e.g.
"Helvetica","Times New Roman"). If the name doesn't resolve, the renderer falls back to Default.Custom — a font supplied as raw bytes (TTF/OTF). Registered with the platform font manager once per document; can be used by name thereafter.
Two PdfFont instances compare equal iff they refer to the same source — see each subtype's equals for details.
Inheritors
Types
Pre-set PdfFont.System references for the writing systems whose native shaping needs differ from Latin (CJK ideographs, Arabic cursive joining, Persian variants). Pass any of these to com.conamobile.pdfkmp.style.TextStyle.font when authoring text in the matching script.