• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TtfCMapFormatBaseTable

Abstract base for a parsed OpenType CMap format subtable. Concrete implementations: TtfCMapFormat0Table (format 0), TtfCMapFormat4Table (format 4, BMP), TtfCMapFormat12Table (format 12, full Unicode).

Inheritance
object
TtfCMapFormatBaseTable
TtfCMapFormat0Table
TtfCMapFormat12Table
TtfCMapFormat4Table
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public abstract class TtfCMapFormatBaseTable

Constructors

TtfCMapFormatBaseTable(ushort, ushort, ushort)

Initializes a new TtfCMapFormatBaseTable with the specified parameters.

Declaration
protected TtfCMapFormatBaseTable(ushort platformId, ushort platformSpecificId, ushort format)
Parameters
Type Name Description
ushort platformId

Platform identifier (0=Unicode, 1=Macintosh, 3=Windows).

ushort platformSpecificId

Platform-specific encoding identifier.

ushort format

CMap subtable format number.

Properties

Format

CMap subtable format number (0, 4, 12, etc.).

Declaration
public ushort Format { get; }
Property Value
Type Description
ushort

PlatformId

Platform identifier (0=Unicode, 1=Macintosh, 3=Windows).

Declaration
public ushort PlatformId { get; }
Property Value
Type Description
ushort

PlatformSpecificId

Platform-specific encoding identifier.

Declaration
public ushort PlatformSpecificId { get; }
Property Value
Type Description
ushort

Methods

GetGlyphIndex(uint)

Maps a Unicode code point to a glyph index. Returns 0 (.notdef) when no glyph is mapped for the code point.

Declaration
public abstract uint GetGlyphIndex(uint codePoint)
Parameters
Type Name Description
uint codePoint
Returns
Type Description
uint
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX