PdfAFontSubstitution
OfficeIMO.Pdf
Chooses where PDF/A conversion may find a font program for a font the source does not embed.
Inheritance
- object
- PdfAFontSubstitution
Remarks
A substitute is embedded only when every glyph the pages draw exists in it with the advance width the page already positions it by, and only when its OS/2 embedding permission allows embedding. Supplied and installed faces pass the same checks.
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Methods
public static PdfAFontSubstitution Supplied(params PdfEmbeddedFontFamily[] families) #Embeds substitutes from the supplied families only. A family is matched by the name it was created with, against the font the PDF names, its standard-font substitutes (for example Arial or Liberation Sans for Helvetica), or Symbol and ZapfDingbats. Add PdfAFontSubstitution.ThenInstalledFonts to fall back to installed fonts.
Parameters
- families OfficeIMO.Pdf.PdfEmbeddedFontFamily[]
Returns
PdfAFontSubstitutionpublic PdfAFontSubstitution ThenInstalledFonts() #Returns a substitution that tries these families first and then the fonts installed on this machine.
Returns
PdfAFontSubstitutionInherited Methods
Properties
public static PdfAFontSubstitution None { get; } #Embeds no substitutes: a source with a font it does not embed is refused.
public static PdfAFontSubstitution InstalledFonts { get; } #Embeds substitutes from the fonts installed on this machine.
public IReadOnlyList<PdfEmbeddedFontFamily> Families { get; } #Gets the supplied families, tried before installed fonts.
public bool UsesInstalledFonts { get; } #Gets whether fonts installed on this machine are tried.