# PdfOpenTypeFontInfo

Describes a parsed OpenType or TrueType font program without claiming it can be rendered by every PDF output path.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfOpenTypeFontInfo.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L100)

**Modifiers**

sealed

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](/api/pdf/officeimo-pdf-pdffontinfo/#property-embeddedopentypeinfo)

Filter members 

Show inherited

## Methods

`public bool ContainsUnicodeScalar(int unicodeScalar)` [#](#method-containsunicodescalar-int32)

[PdfOpenTypeFontInfo.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L100)

Checks whether a Unicode scalar maps to a non-zero glyph id in the parsed font's Unicode cmap.

Parameters

**unicodeScalar int required**

Unicode scalar value to check.

Returns

`bool` True when the scalar maps to a non-zero glyph id.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FontName { get; }` [#](#property-fontname)

[PdfOpenTypeFontInfo.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L55)

PostScript or configured font name sanitized for PDF font dictionaries.

`public string ScalerType { get; }` [#](#property-scalertype)

[PdfOpenTypeFontInfo.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L58)

OpenType scaler type, such as OTTO, true, or 0x00010000.

`public bool IsOpenTypeCff { get; }` [#](#property-isopentypecff)

[PdfOpenTypeFontInfo.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L61)

Whether the font is an OpenType/CFF font with an OTTO scaler and CFF table.

`public bool IsTrueType { get; }` [#](#property-istruetype)

[PdfOpenTypeFontInfo.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L64)

Whether the font uses TrueType glyf outlines.

`public int UnitsPerEm { get; }` [#](#property-unitsperem)

[PdfOpenTypeFontInfo.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L67)

Units per em read from the OpenType head table.

`public int GlyphCount { get; }` [#](#property-glyphcount)

[PdfOpenTypeFontInfo.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L70)

Number of glyphs read from the OpenType maxp table.

`public int CffTableLength { get; }` [#](#property-cfftablelength)

[PdfOpenTypeFontInfo.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L73)

Length of the CFF table in bytes, or zero for non-CFF fonts.

`public int UnicodeScalarCount { get; }` [#](#property-unicodescalarcount)

[PdfOpenTypeFontInfo.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L76)

Number of Unicode scalars mapped by a supported cmap table.

`public bool HasGlyphSubstitutionTable { get; }` [#](#property-hasglyphsubstitutiontable)

[PdfOpenTypeFontInfo.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L79)

Whether the font contains an OpenType GSUB glyph substitution table.

`public bool HasGlyphPositioningTable { get; }` [#](#property-hasglyphpositioningtable)

[PdfOpenTypeFontInfo.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L82)

Whether the font contains an OpenType GPOS glyph positioning table.

`public IReadOnlyList<string> GlyphSubstitutionFeatureTags { get; }` [#](#property-glyphsubstitutionfeaturetags)

[PdfOpenTypeFontInfo.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L85)

Feature tags advertised by the font's OpenType GSUB feature list, such as liga or rlig.

`public IReadOnlyList<string> LatinGlyphSubstitutionFeatureTags { get; }` [#](#property-latinglyphsubstitutionfeaturetags)

[PdfOpenTypeFontInfo.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L87)

GSUB features attached to the default Latin language system, falling back to the default script when Latin is absent.

`public IReadOnlyList<string> GlyphPositioningFeatureTags { get; }` [#](#property-glyphpositioningfeaturetags)

[PdfOpenTypeFontInfo.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfOpenTypeFontInfo.cs#L90)

Feature tags advertised by the font's OpenType GPOS feature list, such as mark or mkmk.

<!-- PowerForge markdown artifact sha256:CBE068C0787DC02C09C9E6AF74DC13629A80ECA677D3FC75AEB4544F4A5C4F1B -->
