Class TtfCMapFormat0Table
CMap format 0: simple byte-array mapping of code points 0–255. Each entry is a single byte glyph index. Ref: OpenType spec §5.6.1.1.1.
Inherited Members
Namespace: DRIT.Drawing.Font.Ttf.Tables
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TtfCMapFormat0Table : TtfCMapFormatBaseTable
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 override uint GetGlyphIndex(uint codePoint)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | codePoint |
Returns
| Type | Description |
|---|---|
| uint |