Suggestion for Text Rendering

77 views
Skip to first unread message

L2000

unread,
Mar 6, 2023, 4:52:47 AM3/6/23
to skia-discuss
Hi all ,
         I need some suggestion .Whether it is okey to depend on SKParagraph for text rendering since it has most of the text Formatting options like underline,strikethrough,text alighnment etc. I have also come across SkShaper, but what is the exact difference between using skshaper and skparagraph for text rendering? Which is more reliable for text formatting operations? 

jlav...@google.com

unread,
Mar 6, 2023, 9:49:36 AM3/6/23
to skia-discuss
SkShaper is a lower level text-shaping engine. It does not do much of text formatting (only line breaking). 
SkParagraph is using SkShaper for shaping and also offers the text formatting (underline, strikethrough, text alignment etc).

Reply all
Reply to author
Forward
0 new messages