summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-08-25 02:59:10 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-08-25 02:59:10 +0000
commitc21833d5e33044ec060dcc42da83a687712aa37f (patch)
tree1222d7506700a824017c412339513b249fc552e8 /src/style.cpp
parentAdd -headerpad_max_install_names to LDFLAGS when building for OSX .app (diff)
downloadinkscape-c21833d5e33044ec060dcc42da83a687712aa37f.tar.gz
inkscape-c21833d5e33044ec060dcc42da83a687712aa37f.zip
Fix for 168164 : Default text output to px
(bzr r11621)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
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) << ";";