RichTextKit v0.3

FontFallback.GetFontRuns Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: FontFallback

Splits a sequence of code points into a series of runs with font fallback applied

public static IEnumerable<Run> GetFontRuns(Utils.Slice<int> codePoints, SkiaSharp.SKTypeface typeface);


Utils.Slice<int> codePoints

The code points

SkiaSharp.SKTypeface typeface

The preferred typeface



A sequence of runs with unsupported code points replaced by a selected font fallback

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.