toptensoftware / RichTextKit

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

How to draw text along a path? #92

Closed avisra closed 5 months ago

avisra commented 5 months ago

This library is the only thing that fixed the kerning issue that I experienced with SkiaSharp. But - how can I use this library to also draw along a curve to make the text appear in an arc?

toptensoftware commented 5 months ago

Drawing text along a path is not supported by this library and no plans to add it.

charlenni commented 5 months ago

Do you want to say, that SKCanvas.DrawTextOnPath doesn't work correct? If yes, what isn't working correct?

toptensoftware commented 4 months ago

@charlenni , sounds like font kerning isn't working correctly... which could be because it needs to be done with correct character placement using a library like harfbuzz and not skia's default draw text on path functionality.

charlenni commented 4 months ago

Thank you for your answer.

Skia removed this function some time ago. And, if I'm right, SkiaSharp replaced it with an own function. But if I'm read it correctly, then the TO says, that it isn't working properly.

Have to look into this again.