Line height incorrect when tspan and text font family don't match
Summary:
Setting line height in pixel is miscalculated.
Steps to reproduce:
- Create multiline text
- Set to desired lineheight/font size
- Ctrl+A to select all the text (so blue highlight covers all text)
- Change font family
What happened?
- line height becomes larger on screen, even though the toolbar/xml displays the same line height value
What should have happened?
- line height on canvas should correspond to value of input
Example video:
Version Info:
- Inkscape Version: 1.0.1 (3bc2e813, 2020-09-07)
- Operating System: Manjaro
Edited by Nathan Lee