SkParagraph - Where to set line spacing while using with SkParagraphBuilder?

290 views
Skip to first unread message

Bharatvaj H

unread,
Jun 16, 2021, 3:48:53 AM6/16/21
to skia-discuss
I am adding text to SkParagraphBuilder each of which are followed by styles of multiple font size. I am able to set the height for the paragraph in ParagraphStyle using StrutStyle, but the spacing is same between lines of different font sizes. How can I set a multiplier which follows the font size of individual lines.

Thanks & Regards,
Bharatvaj
Reply all
Reply to author
Forward
0 new messages