[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43827] print svg with incorrect font baseline

From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #43827] print svg with incorrect font baseline
Date: Thu, 01 Jan 2015 21:45:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0

Follow-up Comment #3, bug #43827 (project octave):

The SVG attribute in question is "baseline-shift"

The svg generated by gl2ps looks fine for me. It uses font-size="10" and
baseline-shift="-10" to draw the xlabels which should show text below the

I've found a bugreport because baseline-shift isn't implemented in Firefox:

I created a testimage

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"

<svg version="1.1" xmlns="http://www.w3.org/2000/svg";>
  <text x="10" y="40" style="font-size:26px">
    (a+b)<tspan style="baseline-shift:super;font-size:18px">2</tspan>
  <text x="10" y="80" style="font-size:26px">
   c<tspan style="baseline-shift:sub;font-size:18px">11</tspan>
  <text x="10" y="120" style="font-size:26px">
    K<tspan style="baseline-shift:-20;font-size:18px">i=0</tspan>

Only Inkscape renders correct here, LibreOffice, Gimp and Iceweasel fail


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]