PdfFontInfo
OfficeIMO.Pdf
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
Properties
public int? ObjectNumber { get; } #Indirect object number, or null when the font dictionary is direct.
public int? 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 bool 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 int? FontWeight { get; } #Font descriptor weight from 1 through 1000, when declared by the PDF.
public int? FontDescriptorFlags { get; } #Raw PDF font descriptor flags, when declared by the PDF.
public bool IsBold { get; } #True when declared weight or a legacy font-name fallback identifies a bold face.
public bool IsItalic { get; } #True when descriptor flags or a legacy font-name fallback identifies an italic face.
public bool HasToUnicode { get; } #True when the font dictionary declares a ToUnicode entry.
public bool HasReadableToUnicodeMap { get; } #True when the declared ToUnicode stream produced a readable character map.
public int ToUnicodeMappingCount { get; } #Number of mappings parsed from the ToUnicode character map.
public int EncodingDifferenceCount { get; } #Number of explicit Encoding Differences mappings.
public bool 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 int? 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 int? EmbeddedProgramDecodedLength { get; } #Decoded embedded font program byte length when bytes were requested and retained.
public bool 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.