Closed charlenni closed 2 years ago
This looks like a nice change but can we use SKFontStyleWidth instead of introducing a new enum. The other RichTextKit enums on IStyle are only there because there's no SkiaSharp equivalent. Since we're exposing SKColor, we might as well use SKFontStyleWidth too.
Thank you for looking into this.
Yes, we can, and it is a very good idea. So the code is much shorter and more readable. Thank you for the tip.
Added a property in IStyle (and everywhere else) for FontWidth (as normal, condensed and expanded)