From c21833d5e33044ec060dcc42da83a687712aa37f Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 25 Aug 2012 11:59:10 +0900 Subject: Fix for 168164 : Default text output to px (bzr r11621) --- src/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index 1709132a0..ec03dcc7e 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -4233,7 +4233,7 @@ sp_style_write_ifontsize(gchar *p, gint const len, gchar const *key, Inkscape::CSSOStringStream os; Inkscape::Preferences *prefs = Inkscape::Preferences::get(); int unit = prefs->getInt("/options/font/unitType", SP_CSS_UNIT_PT); - if (prefs->getBool("/options/font/textOutputPx", false)) { + if (prefs->getBool("/options/font/textOutputPx", true)) { unit = SP_CSS_UNIT_PX; } os << key << ":" << sp_style_css_size_px_to_units(val->computed, unit) << sp_style_get_css_unit_string(unit) << ";"; -- cgit v1.2.3