You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 7, Inkscape 0.91, Chrome '40.0.2214.115 m' and '41.0.2272.76 m'
Description
If a text block in SVG is styled with white-space:normal;, words will overlap.
Open test.svg in Chrome for an example.
(Note that Internet Explorer 11 renders the text correctly.)
test.svg file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns="http://www.w3.org/2000/svg"
width="1000px"
height="1000px"
viewBox="0 0 1000 1000"
version="1.1">
<g>
<text xml:space="preserve"
style="white-space:normal;"
x="10"
y="50">
<tspan>words will overlap in chrome if CSS 'white-space:normal' is set...</tspan>
</text>
</g>
</svg>
Notes
This is an old issue I had on Windows 7 in 2014. Something must have changed
in my Inkscape internal settings on Windows (Inkscape version 0.91) and Inkscape
started adding white-space:normal; to the style of my text.
Until a few days before noticing the issue, Inkscape (0.91, same build) would not
add that style to the text. For example see
in the maths-notes repo; text in there has no white-space:normal; style.
The Inkscape prefs had it, so I removed it ; keep an eye on it to see if the issue
resurfaces...
The text was updated successfully, but these errors were encountered:
Platform
Windows 7, Inkscape 0.91, Chrome '40.0.2214.115 m' and '41.0.2272.76 m'
Description
If a text block in SVG is styled with
white-space:normal;
, words will overlap.Open
test.svg
in Chrome for an example.(Note that Internet Explorer 11 renders the text correctly.)
test.svg file
Notes
This is an old issue I had on Windows 7 in 2014. Something must have changed
in my Inkscape internal settings on Windows (Inkscape version 0.91) and Inkscape
started adding
white-space:normal;
to the style of my text.Until a few days before noticing the issue, Inkscape (0.91, same build) would not
add that style to the text. For example see
categories/cat-of-all-cats/commutative-squares/com-squares-in-prod-cat.svg
in the maths-notes repo; text in there has no
white-space:normal;
style.The Inkscape prefs had it, so I removed it ; keep an eye on it to see if the issue
resurfaces...
The text was updated successfully, but these errors were encountered: