PdfOpenTypeFontInfo
OfficeIMO.Pdf
Describes a parsed OpenType or TrueType font program without claiming it can be rendered by every PDF output path.
Inheritance
- object
- PdfOpenTypeFontInfo
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 PdfFontInfo.EmbeddedOpenTypeInfo
Methods
public bool ContainsUnicodeScalar(int unicodeScalar) #Checks whether a Unicode scalar maps to a non-zero glyph id in the parsed font's Unicode cmap.
Parameters
- unicodeScalar int
- Unicode scalar value to check.
Returns
bool True when the scalar maps to a non-zero glyph id.Inherited Methods
Properties
public string FontName { get; } #PostScript or configured font name sanitized for PDF font dictionaries.
public string ScalerType { get; } #OpenType scaler type, such as OTTO, true, or 0x00010000.
public bool IsOpenTypeCff { get; } #Whether the font is an OpenType/CFF font with an OTTO scaler and CFF table.
public bool IsTrueType { get; } #Whether the font uses TrueType glyf outlines.
public int UnitsPerEm { get; } #Units per em read from the OpenType head table.
public int GlyphCount { get; } #Number of glyphs read from the OpenType maxp table.
public int CffTableLength { get; } #Length of the CFF table in bytes, or zero for non-CFF fonts.
public int UnicodeScalarCount { get; } #Number of Unicode scalars mapped by a supported cmap table.
public bool HasGlyphSubstitutionTable { get; } #Whether the font contains an OpenType GSUB glyph substitution table.
public bool HasGlyphPositioningTable { get; } #Whether the font contains an OpenType GPOS glyph positioning table.
public IReadOnlyList<string> GlyphSubstitutionFeatureTags { get; } #Feature tags advertised by the font's OpenType GSUB feature list, such as liga or rlig.
public IReadOnlyList<string> LatinGlyphSubstitutionFeatureTags { get; } #GSUB features attached to the default Latin language system, falling back to the default script when Latin is absent.
public IReadOnlyList<string> GlyphPositioningFeatureTags { get; } #Feature tags advertised by the font's OpenType GPOS feature list, such as mark or mkmk.