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

Class CffGlyphAccessor

Provides glyph metrics and names for a CFF font by executing Type 2 charstrings via DRIT.Drawing.Font.Cff.Type2Interpreter.

Inheritance
object
CffGlyphAccessor
Implements
IGlyphAccessor
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Cff
Assembly: DRIT.Drawing.dll
Syntax
public sealed class CffGlyphAccessor : IGlyphAccessor

Methods

GetGlyphById(GlyphId)

Returns the Glyph for the given glyphId, or null if the glyph is not present in the font.

Declaration
public Glyph? GetGlyphById(GlyphId gid)
Parameters
Type Name Description
GlyphId gid
Returns
Type Description
Glyph

GetGlyphByIndex(uint)

Returns the Glyph for the given zero-based glyph index, or null if out of range.

Declaration
public Glyph? GetGlyphByIndex(uint index)
Parameters
Type Name Description
uint index
Returns
Type Description
Glyph

Implements

IGlyphAccessor
Back to top

DR-IT Software documentation

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

Generated by DocFX