Table of Contents

Method GlyphIndicesFromString

Namespace
PdfSharp.Fonts
Assembly
PdfSharp.dll

GlyphIndicesFromString(string, XFont)

Maps the characters of a UTF-32 string to an array of glyph indexes. Never fails, invalid surrogate pairs are simply skipped.

public static CodePointGlyphIndexPair[] GlyphIndicesFromString(string s, XFont font)

Parameters

s string

The string to be mapped.

font XFont

The font to be used.

Returns

CodePointGlyphIndexPair[]