summaryrefslogtreecommitdiffstats
path: root/src/widgets/text-toolbar.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-05-30 13:38:31 +0000
committertavmjong-free <tavmjong@free.fr>2014-05-30 13:38:31 +0000
commitf0b0773ecf0249c576e58059864f3a0ecbac64ec (patch)
tree8f3176fc0f6d2533612c9e6edb8e7b4e862b70d6 /src/widgets/text-toolbar.cpp
parentUse SPStyle value for 'font-family' rather than parse 'style' ourselves. (diff)
downloadinkscape-f0b0773ecf0249c576e58059864f3a0ecbac64ec.tar.gz
inkscape-f0b0773ecf0249c576e58059864f3a0ecbac64ec.zip
Unquote names in 'font-family' lists. Partial fix for #1029080
(bzr r13341.1.42)
Diffstat (limited to 'src/widgets/text-toolbar.cpp')
-rw-r--r--src/widgets/text-toolbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp
index 3a4f315da..64a7cd5e7 100644
--- a/src/widgets/text-toolbar.cpp
+++ b/src/widgets/text-toolbar.cpp
@@ -134,6 +134,7 @@ static void sp_text_fontfamily_value_changed( Ink_ComboBoxEntry_Action *act, GOb
g_object_set_data( tbl, "freeze", GINT_TO_POINTER(TRUE) );
Glib::ustring new_family = ink_comboboxentry_action_get_active_text( act );
+ css_font_family_unquote( new_family ); // Remove quotes around font family names.
// TODO: Think about how to handle handle multiple selections. While
// the font-family may be the same for all, the styles might be different.