4 ms·
Except Skia is not a text renderer. Skia won't correctly position glyphs for you. It can only render glyphs for you at positions that you provide.
by jhgb 5y ago
Except Skia is not a text renderer. Skia won't correctly position glyphs for you. It can only render glyphs for you at positions that you provide.
- wffurr 5y agoYour understanding of Skia may be out of date. See SkParagraph: https://skia.googlesource.com/skia/+/refs/heads/main/modules/skparagraph/include/Paragraph.h https://skia.googlesource.com/skia/+/refs/heads/main/modules... And the experimental SkText API: https://skia.googlesource.com/skia/+/refs/heads/main/experimental/sktext/include/SkText.md https://skia.googlesource.com/skia/+/refs/heads/main/experim...
- jhgb 5y agoIt's possible; I haven't looked at Skia for some time. As far as I can tell, in the past, https://skia.org/docs/user/tips/#does-skia-shape-text-kerning https://skia.org/docs/user/tips/#does-skia-shape-text-kernin... applied.