alignment-baseline attribute ignored

Bug #1794839 reported by Matt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Wishlist
Unassigned

Bug Description

As per the title, Inkscape appears to ignore this attribute on <text> elements.

Version info:
Inkscape 0.92.2 5c3e80d, 2017-08-06
macOS Mojave 10.14 (18A391)
MacBook Pro 2018

MCVE:
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 200 200">
  <style>text { font: bold 180px sans-serif; }</style>
  <text x="100" y="100" text-anchor="middle" alignment-baseline="central">2</text>
</svg>

Correct output:
Digit 2 centered in 200px square.

Actual output:
Horizontally centered, but vertically not.
See attached test.png

Revision history for this message
Matt (mtcoster) wrote :
Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

We do not support 'alignment-baseline'. We do support 'dominant-baseline' and 'baseline-shift'.

Mc (mc...)
Changed in inkscape:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.