summaryrefslogtreecommitdiffstats
path: root/src/dialogs/text-edit.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-01-02 15:17:52 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-01-02 15:17:52 +0000
commit000dca94ea9e7ec4fcf65bef9299944bda3ecd84 (patch)
tree51907f89e4e4fdd077b1adcb612ba0514265e4b1 /src/dialogs/text-edit.cpp
parentSome more strings translated. (diff)
downloadinkscape-000dca94ea9e7ec4fcf65bef9299944bda3ecd84.tar.gz
inkscape-000dca94ea9e7ec4fcf65bef9299944bda3ecd84.zip
Fixed bug [ 1610103 ]: font-size px unit missing after font family change
(bzr r2123)
Diffstat (limited to 'src/dialogs/text-edit.cpp')
-rw-r--r--src/dialogs/text-edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/text-edit.cpp b/src/dialogs/text-edit.cpp
index a44860ee3..76cf310b0 100644
--- a/src/dialogs/text-edit.cpp
+++ b/src/dialogs/text-edit.cpp
@@ -8,7 +8,7 @@
* bulia byak <buliabyak@users.sf.net>
* Johan Engelen <goejendaagh@zonnet.nl>
*
- * Copyright (C) 1999-2006 Authors
+ * Copyright (C) 1999-2007 Authors
* Copyright (C) 2000-2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
@@ -530,7 +530,7 @@ sp_get_text_dialog_style ()
sp_repr_css_set_property (css, "font-variant", c);
Inkscape::CSSOStringStream os;
- os << sp_font_selector_get_size (SP_FONT_SELECTOR (fontsel));
+ os << sp_font_selector_get_size (SP_FONT_SELECTOR (fontsel)) << "px"; // must specify px, see inkscape bug 1221626 and 1610103
sp_repr_css_set_property (css, "font-size", os.str().c_str());
font->Unref();