API Reference
PdfFontInfo
Inspection information for one unique PDF font dictionary.
Inheritance
- Object
- PdfFontInfo
Usage
Explore 1 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 1
- Property PdfFontInventory.Fonts
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Int32? ObjectNumber { get; } #Indirect object number, or null when the font dictionary is direct.
public Int32? Generation { get; } #Indirect object generation, or null when the font dictionary is direct.
public String BaseFontName { get; } #BaseFont name exactly as declared by the PDF.
public String FamilyName { get; } #Base font name with a valid six-letter subset prefix removed.
public String? SubsetTag { get; } #Six-letter PDF subset tag, or null when the BaseFont name is not subset-prefixed.
public Boolean IsSubset { get; } #True when the BaseFont name has a valid six-letter subset prefix.
public String Subtype { get; } #PDF font subtype, such as Type0, Type1, TrueType, or Type3.
public String Encoding { get; } #Resolved encoding name used by the OfficeIMO.Pdf text decoder.
public Int32? FontWeight { get; } #Font descriptor weight from 1 through 1000, when declared by the PDF.
public Int32? FontDescriptorFlags { get; } #Raw PDF font descriptor flags, when declared by the PDF.
public Boolean IsBold { get; } #True when declared weight or a legacy font-name fallback identifies a bold face.
public Boolean IsItalic { get; } #True when descriptor flags or a legacy font-name fallback identifies an italic face.
public Boolean HasToUnicode { get; } #True when the font dictionary declares a ToUnicode entry.
public Boolean HasReadableToUnicodeMap { get; } #True when the declared ToUnicode stream produced a readable character map.
public Int32 ToUnicodeMappingCount { get; } #Number of mappings parsed from the ToUnicode character map.
public Int32 EncodingDifferenceCount { get; } #Number of explicit Encoding Differences mappings.
public Boolean IsEmbedded { get; } #True when a FontFile, FontFile2, or FontFile3 stream is present.
public String? EmbeddedProgramSubtype { get; } #Embedded font program kind, such as Type1, TrueType, OpenType, or Type1C.
public Int32? EmbeddedProgramEncodedLength { get; } #Encoded byte length of the embedded font program stream.
public PdfOpenTypeFontInfo? EmbeddedOpenTypeInfo { get; } #Parsed facts from an embedded OpenType or TrueType program, including the total glyph count and Unicode cmap coverage. This describes the embedded program; it does not claim every glyph was painted.
public Byte[]? EmbeddedProgramBytes { get; } #Decoded embedded font program bytes when explicitly requested and available within the configured limit. A defensive copy is returned on every access.
public Int32? EmbeddedProgramDecodedLength { get; } #Decoded embedded font program byte length when bytes were requested and retained.
public Boolean IsType3 { get; } #True when the font is a Type3 font whose glyphs are PDF content streams.
public IReadOnlyList<PdfFontResourceReference> References { get; } #Every page and nested resource path that declares this font dictionary.
public IReadOnlyList<PdfFontInspectionDiagnostic> Diagnostics { get; } #Font-specific inspection diagnostics.