API Reference
PdfOpenTypeFontInfo
Describes a parsed OpenType or TrueType font program without claiming it can be rendered by every PDF output path.
Inheritance
- Object
- PdfOpenTypeFontInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Methods
public Boolean ContainsUnicodeScalar(Int32 unicodeScalar) #BooleanChecks whether a Unicode scalar maps to a non-zero glyph id in the parsed font's Unicode cmap.
Parameters
- unicodeScalar System.Int32
- Unicode scalar value to check.
Returns
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 Boolean IsOpenTypeCff { get; } #Whether the font is an OpenType/CFF font with an OTTO scaler and CFF table.
public Boolean IsTrueType { get; } #Whether the font uses TrueType glyf outlines.
public Int32 UnitsPerEm { get; } #Units per em read from the OpenType head table.
public Int32 GlyphCount { get; } #Number of glyphs read from the OpenType maxp table.
public Int32 CffTableLength { get; } #Length of the CFF table in bytes, or zero for non-CFF fonts.
public Int32 UnicodeScalarCount { get; } #Number of Unicode scalars mapped by a supported cmap table.
public Boolean HasGlyphSubstitutionTable { get; } #Whether the font contains an OpenType GSUB glyph substitution table.
public Boolean 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> GlyphPositioningFeatureTags { get; } #Feature tags advertised by the font's OpenType GPOS feature list, such as mark or mkmk.