summaryrefslogtreecommitdiffstats
path: root/src/widgets/text-toolbar.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-05-30 13:29:49 +0000
committertavmjong-free <tavmjong@free.fr>2014-05-30 13:29:49 +0000
commite5004cc2ccb6d6554125552b4ef0e0b4cb23daf0 (patch)
tree8dbf4d54eb2e6c66d462653fd5e9a75855ef352f /src/widgets/text-toolbar.cpp
parentUse SPStyle value for 'font-family' rather than parse 'style' ourselves. (diff)
downloadinkscape-e5004cc2ccb6d6554125552b4ef0e0b4cb23daf0.tar.gz
inkscape-e5004cc2ccb6d6554125552b4ef0e0b4cb23daf0.zip
Unquote names in 'font-family' lists. Partial fix for #1029080
(bzr r13402)
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.