diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-04-24 12:04:31 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-04-24 12:04:31 +0000 |
| commit | 67c3fc5586ae05506f75bb30fe46a071e20613d2 (patch) | |
| tree | 8469b6ad6668ba9852930950833db245eb70da00 /src/style-internal.cpp | |
| parent | Add missing style-internal.cpp (diff) | |
| download | inkscape-67c3fc5586ae05506f75bb30fe46a071e20613d2.tar.gz inkscape-67c3fc5586ae05506f75bb30fe46a071e20613d2.zip | |
Clean up of style code, removal of SPFontStyle. Step 2.
(bzr r13300)
Diffstat (limited to 'src/style-internal.cpp')
| -rw-r--r-- | src/style-internal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp index ede543078..b03e848ba 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -1887,7 +1887,7 @@ SPIFont::read( gchar const *str ) { std::string str_s = str; // Why this extra step? std::string family = str_s.substr( str_s.find( param ) ); - style->text->font_family.readIfUnset( family.c_str() ); + style->font_family.readIfUnset( family.c_str() ); // Everything in shorthand is set per CSS rules, this works since // properties are read backwards from end to start. @@ -1897,7 +1897,7 @@ SPIFont::read( gchar const *str ) { style->font_stretch.set = true; style->font_size.set = true; style->line_height.set = true; - style->text->font_family.set = true; + style->font_family.set = true; // style->font_size_adjust.set = true; // style->font_kerning.set = true; // style->font_language_override.set = true;; |
