From 000dca94ea9e7ec4fcf65bef9299944bda3ecd84 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 2 Jan 2007 15:17:52 +0000 Subject: Fixed bug [ 1610103 ]: font-size px unit missing after font family change (bzr r2123) --- src/dialogs/text-edit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dialogs/text-edit.cpp') 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 * Johan Engelen * - * 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(); -- cgit v1.2.3