Line-height stops to update when switching units for baseline spacing

Bug #1707808 reported by Patrick Storz on 2017-08-01
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

In both 0.92.x and current master
- Inkscape 0.92.2pre0 (f9bf460709, 2017-07-30)
- Inkscape 0.92+devel (d0390b9f4f, 2017-07-31)

when switching units for baseline spacing the actual line-height stops updating (i.e. can't be set via UI anymore).

For example to reproduce:
- open a new document (mm based template)
- write two lines of random text with default text tool settings
- activate "Show style of outermost text element"
- line height will be "1.25" (relative)
- change it to "2" and observe line height to change
- switch baseline spacing unit to "%" (will now have a value of "200.00")
- change it to "100" and observe *no* change in line height

Source of the issue:
When switching the baseline spacing unit the line-height attribute is set on the individual <tspans> of the lines (even though "Show style of outermost text element" is enabled) making any further changes to the line-height of the outermost text element non-effective.

Patrick Storz (ede123) wrote :

As a workaround the (workaround button?) "?" can be clicked to unset the line-height attribute of the children again.

Changed in inkscape:
status: New → Confirmed
importance: Undecided → Medium
tags: added: text
Patrick Storz (ede123) wrote :

Likely related: bug #1677490

TylerDurden (8thrule) wrote :

Likely related: bug #1718617

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers