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
[Runtime.CompilerServices.IteratorStateMachine(Topten.RichTextKit.FontFallback+<GetFontRuns>d__2)]
public static IEnumerable<Run> GetFontRuns(Utils.Slice<int> codePoints, SkiaSharp.SKTypeface typeface, char replacementCharacter = );
Parameters
| Utils.Slice<int> codePoints | The code points |
| SkiaSharp.SKTypeface typeface | The preferred typeface |
| char replacementCharacter = | The replacement character to be used for the run |
Returns
| IEnumerable<Run> | A sequence of runs with unsupported code points replaced by a selected font fallback |
