summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-11-18 14:53:56 +0000
committertavmjong-free <tavmjong@free.fr>2015-11-18 14:53:56 +0000
commitbfc8e4559285237d13c45e37240a9561c8af5264 (patch)
treef3caa7ee661894070b8414f6b7a6d885e513483a /src/style.cpp
parentTurn FontMetrics into a class. Add maximum ascent/descent variables. (diff)
downloadinkscape-bfc8e4559285237d13c45e37240a9561c8af5264.tar.gz
inkscape-bfc8e4559285237d13c45e37240a9561c8af5264.zip
Code cleanup. Remove/simplify some functions.
(bzr r14430.1.9)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 0bad376a4..2a216e940 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -113,7 +113,7 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) :
font_weight( "font-weight", enum_font_weight, SP_CSS_FONT_WEIGHT_NORMAL, SP_CSS_FONT_WEIGHT_400 ),
font_stretch( "font-stretch", enum_font_stretch, SP_CSS_FONT_STRETCH_NORMAL ),
font_size(),
- line_height( "line-height", 1.0 ), // SPILengthOrNormal
+ line_height( "line-height", 1.25 ), // SPILengthOrNormal
font_family( "font-family", "sans-serif" ), // SPIString w/default
font(), // SPIFont
font_specification( "-inkscape-font-specification" ), // SPIString