summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-07-30 08:31:31 +0000
committertavmjong-free <tavmjong@free.fr>2014-07-30 08:31:31 +0000
commitb7ebc313abd7f6aa501370d58ba54e6169e4218e (patch)
tree779a7b4b4f1cce041cffd987d530e4222f930ebe /src/attributes.cpp
parentFix a bug pointed by su_v on fillet-chamfer open paths (diff)
downloadinkscape-b7ebc313abd7f6aa501370d58ba54e6169e4218e.tar.gz
inkscape-b7ebc313abd7f6aa501370d58ba54e6169e4218e.zip
Read CSS Text 3 'white-space' property, SVG 2 <text> 'width', 'height' attributes.
(bzr r13341.1.110)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index da7b25f03..3cca90105 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -413,10 +413,6 @@ static SPStyleProp const props[] = {
/* Text */
{SP_PROP_TEXT_INDENT, "text-indent"},
{SP_PROP_TEXT_ALIGN, "text-align"},
- {SP_PROP_TEXT_DECORATION, "text-decoration"},
- {SP_PROP_TEXT_DECORATION_LINE, "text-decoration-line"},
- {SP_PROP_TEXT_DECORATION_STYLE,"text-decoration-style"},
- {SP_PROP_TEXT_DECORATION_COLOR,"text-decoration-color"},
{SP_PROP_LINE_HEIGHT, "line-height"},
{SP_PROP_LETTER_SPACING, "letter-spacing"},
{SP_PROP_WORD_SPACING, "word-spacing"},
@@ -433,6 +429,12 @@ static SPStyleProp const props[] = {
{SP_PROP_GLYPH_ORIENTATION_VERTICAL, "glyph-orientation-vertical"},
{SP_PROP_KERNING, "kerning"},
{SP_PROP_TEXT_ANCHOR, "text-anchor"},
+ {SP_PROP_WHITE_SPACE, "white-space"},
+ /* Text Decoration */
+ {SP_PROP_TEXT_DECORATION, "text-decoration"},
+ {SP_PROP_TEXT_DECORATION_LINE, "text-decoration-line"},
+ {SP_PROP_TEXT_DECORATION_STYLE,"text-decoration-style"},
+ {SP_PROP_TEXT_DECORATION_COLOR,"text-decoration-color"},
/* Misc */
{SP_PROP_CLIP, "clip"},
{SP_PROP_COLOR, "color"},