summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-04-28 14:13:36 +0000
committertavmjong-free <tavmjong@free.fr>2014-04-28 14:13:36 +0000
commit3466681abbcf33b09fada54e74cf55915714e2b2 (patch)
treebf2cebd6226b3b6a5f1db7656c521ef72de2cac7 /src/style.cpp
parentchanged default unit for hpgl importer to real world unit mm (diff)
downloadinkscape-3466681abbcf33b09fada54e74cf55915714e2b2.tar.gz
inkscape-3466681abbcf33b09fada54e74cf55915714e2b2.zip
Clean up of style code: Add default to SPIString for use with 'font-family'.
(bzr r13315)
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 2d66284d4..11b1dc440 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -112,7 +112,7 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) :
font_stretch( "font-stretch", enum_font_stretch, SP_CSS_FONT_STRETCH_NORMAL ),
font_size(),
line_height( "line-height", 1.0 ), // SPILengthOrNormal
- font_family( "font-family" ), // SPIString
+ font_family( "font-family", "sans-serif" ), // SPIString w/default
font(), // SPIFont
font_specification( "-inkscape-font-specification" ), // SPIString