Table of Contents

Method GlyphIndexFromCodePoint

Namespace
PdfSharp.Fonts
Assembly
PdfSharp.dll

GlyphIndexFromCodePoint(int, XFont)

Returns the glyph ID for the specified code point, or 0, if the specified font has no glyph for this code point.

public static ushort GlyphIndexFromCodePoint(int codePoint, XFont font)

Parameters

codePoint int

The code point the glyph ID is requested for.

font XFont

The font to be used.

Returns

ushort