Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,525
    • Issues 1,525
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Inkscape
  • inkscapeinkscape
  • Issues
  • #2465
Closed
Open
Created Apr 10, 2020 by SoniaB@sweetart2

Changing Line Height units doesn't convert value correctly, changing text layout

Summary

Just changing the Line height units in the text toolbar changes the line-height too, at least sometimes.

Steps to reproduce:

The original steps to replicate are the following gif:

Tmhkcsmpd3

In trunk (1.2-dev), there is also the following steps to replicate:

  1. Reset preferences
  2. Restart Inkscape (starting with a blank default document)
  3. Switch to text tool
  4. Switch line height units from lines to px (1.25lines goes to 25px)
  5. Switch line height units to mm (25px to 132.29mm)
  6. Switch line height units back to px (132.29 mm to 1000px)

What happened?

Changing the line height units causes the line height to value to be converted incorrectly, quickly leading to a line height near 0 hitting 1000 depending on the units.

What should have happened?

  • the actual line height is not changed (this is normally what happens), so 50px = 13.23 mm. The layout of the currently selected text should not change when simply changing the line height units.

Inkscape Version and Operating System:

  • Inkscape 1.0, Windows 10 (OP had no problem in Linux)
Edited May 19, 2021 by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking