Method GetFallbackFontFile
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetFallbackFontFile(PdfFontInfo)
Provides fallback font bytes for a non-embedded PDF font.
public Stream GetFallbackFontFile(PdfFontInfo fontInfo)
Parameters
fontInfo
PdfFontInfoDescribes the PDF font for which the library needs an eligible fallback font.
Returns
- Stream
The bytes of an eligible fallback font.
Remarks
This method returns the following fallback fonts:
- Helvetica and Times for Type1 PDF fonts
- Liberation and PT Sans for TrueType PDF fonts
- Droid Sans Fallback for Type0 PDF fonts