toptensoftware / RichTextKit

Rich text rendering for SkiaSharp
Other
367 stars 73 forks source link

\r\n is not normalized to \n by TextBlock #53

Open Jeremy-Price opened 2 years ago

Jeremy-Price commented 2 years ago

https://www.toptensoftware.com/richtextkit/basics claims that \r\n is normalized to \n, but doing something like

TextBlock tb = new TextBlock();
tb.AddText("X \n Y \r\n Z", style);

renders as

X
Y□
Z
ivan-h-ivanov commented 1 year ago

Check https://github.com/toptensoftware/RichTextKit/issues/53