[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SVG <tspan> with leading/trailing spaces should use non-break spaces
From: |
Ophir Lifshitz |
Subject: |
SVG <tspan> with leading/trailing spaces should use non-break spaces |
Date: |
Mon, 2 Nov 2015 19:27:52 -0500 |
Hello all,
Here is the MWE:
$ echo '\version "2.18.2" { \tempo "Foo" 4 = 20 b }' | lilypond
-dbackend=svg -o foo -
It seems the easiest way to fix this is to render <tspan> elements with
leading or trailing spaces converted to non-break spaces:
Incorrect: <tspan> = 20</tspan>
Correct: <tspan> = 20</tspan>
See attached screenshots.
Thanks,
Ophir
correct.png
Description: PNG image
incorrect.png
Description: PNG image
- SVG <tspan> with leading/trailing spaces should use non-break spaces,
Ophir Lifshitz <=