Skip to main content

Interface: FontFamilyFaces

The set of faces that make up a font family registered with PdfDocument.registerFontFamily. Once registered, text APIs can select a face by passing the family name as font together with the bold and italic flags, instead of juggling individual font handles.

Each face may be a built-in FontName or an embedded-font handle. Only regular is required; missing faces fall back to the closest available face (bold italic → bold → italic → regular).

Properties

PropertyTypeDescription
bold?PdfFontFace used when bold is requested without italic.
boldItalic?PdfFontFace used when both bold and italic are requested.
italic?PdfFontFace used when italic is requested without bold.
regularPdfFontFace used when neither bold nor italic is requested.