diff --git a/Topten.RichTextKit/FontRun.cs b/Topten.RichTextKit/FontRun.cs index a97068f..7eaf8c2 100644 --- a/Topten.RichTextKit/FontRun.cs +++ b/Topten.RichTextKit/FontRun.cs @@ -1,4 +1,4 @@ -#define USE_SKTEXTBLOB +#define USE_SKTEXTBLOB // RichTextKit // Copyright © 2019-2020 Topten Software. All Rights Reserved. // @@ -518,7 +518,7 @@ internal void UpdateOverhang(float right, bool updateTop, bool updateBottom, ref { fixed (ushort* pGlyphs = Glyphs.Underlying) { - paint.GetGlyphWidths((IntPtr)(pGlyphs + Start), sizeof(ushort) * Glyphs.Length, out var bounds); + paint.GetGlyphWidths((IntPtr)(pGlyphs + Glyphs.Start), sizeof(ushort) * Glyphs.Length, out var bounds); if (bounds != null) { for (int i = 0; i < bounds.Length; i++)