Provides fallback font bytes for a non-embedded PDF font.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
Stream GetFallbackFontFile(
PdfFontInfo fontInfo
)
VB
Function GetFallbackFontFile (
fontInfo As PdfFontInfo
) As Stream
Parameters
- fontInfo
- Type: BitMiracle.Docotic.Pdf.PdfFontInfo
Describes the PDF font for which the library needs an eligible fallback font.
Return Value
Type:
Stream
The bytes of an eligible fallback font.
Remarks
The fontInfo is never equal to null. This method must never
return null.
The library will dispose of the returned stream.
The following fallback font formats are eligible:
- PFB for Type1/MMF PDF fonts
- TTF/OTF for TrueType and Type0 PDF fonts
See Also