react-native-skia
react-native-skia copied to clipboard
LineHeight property on Paragraph
Description
Hi,
would it be possible to add lineHeight property to the Paragraph? :)
This is indeed an issue. Skia doesn't have lineHeight. Skia seems to have a working for it that we will try to expose
Hi William, thank you for your response. I know you have ton of work.. but Is there any chance it can be added in the near future?
It would be nice if Paragraph accepted lineHeight prop and also respected the props it says it should (like color). You can adjust the line height of the Paragraphs in the builder with .pushStyle({ heightMultiplier: lineHeightMultiplier }) if you need to.
I encountered a problem with different line heights in different fonts, if there is a lineheight, can this problem be solved?