RichTextKit
RichTextKit copied to clipboard
Rich text rendering for SkiaSharp
This PR adds the ability to provide custom vertical font metrics when layouting text. The background here is that Skia report different font metrics depending on platform. Windows uses `usWinAscent`,...
This works: var rs = new RichString().Add("Hello world", textColor: SKColors.Red); This does not and text is still black. Am I missing anything? var rs = new RichString().Add("Hello world"); rs.TextColor(SKColors.Green);
My project has a strong name so .net framework does not let me use this library because it does not have a strong name. Please add a strong name to...
For now we have Left, Center, right and Auto but maybe the most important option actually not included like Justify
Navigating with NavigationKind.WordLeft fails if in front of the word is an apostrophe. The navigation then gets handled as a "CharacterLeft". The same is for Wordright.
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□...
There is a security vulnerability in 2.88.3 and lower. Bumping to latest resolves this issue. Details here https://github.com/mono/SkiaSharp/issues/2608
I run into an annoying issue when creating a RichTextBox from RichTextKit. The paragraph separators in the TextDocument have their own Style which is not the same as the previous...
Skia supports this via the `SKFontStyleSlant` enum. This should be supported in RichTextKit.
Hello, I have a performance issue with large amounts of text. That is to say, hundreds and thousands of labels on a large whiteboard. While investigating the performance of RichTextKit,...