Browse Source

Fix cluster builder for break pairs

pull/5876/head
Benedikt Stebner 5 years ago
parent
commit
a301d0beeb
  1. 2
      src/Skia/Avalonia.Skia/TextShaperImpl.cs

2
src/Skia/Avalonia.Skia/TextShaperImpl.cs

@ -87,7 +87,7 @@ namespace Avalonia.Skia
{ {
var nextCodepoint = Codepoint.ReadAt(text, i + 1, out _); var nextCodepoint = Codepoint.ReadAt(text, i + 1, out _);
if (nextCodepoint == '\r' && codepoint == '\n' || nextCodepoint == '\n' && codepoint == '\r') if (nextCodepoint == '\n' && codepoint == '\r')
{ {
count++; count++;

Loading…
Cancel
Save