jeziellago / compose-markdown

Markdown Text for Android Jetpack Compose 📋.
MIT License
594 stars 51 forks source link

Too many space between lines. #98

Closed dinhthaidaica closed 4 months ago

dinhthaidaica commented 5 months ago

Line height if custom font (also the space between lines) seems to be so much bigger then the value in the TextStyle. In other word, lineHeight value in textStyle is not respected.

                  style = TextStyle(
                        textAlign = TextAlign.Center,
                        lineHeight = 24.sp,
                        fontSize = 18.sp
                    )