diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-08-25 02:59:10 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-08-25 02:59:10 +0000 |
| commit | c21833d5e33044ec060dcc42da83a687712aa37f (patch) | |
| tree | 1222d7506700a824017c412339513b249fc552e8 /src/widgets/text-toolbar.cpp | |
| parent | Add -headerpad_max_install_names to LDFLAGS when building for OSX .app (diff) | |
| download | inkscape-c21833d5e33044ec060dcc42da83a687712aa37f.tar.gz inkscape-c21833d5e33044ec060dcc42da83a687712aa37f.zip | |
Fix for 168164 : Default text output to px
(bzr r11621)
Diffstat (limited to 'src/widgets/text-toolbar.cpp')
| -rw-r--r-- | src/widgets/text-toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp index fd7a549de..8c1219acc 100644 --- a/src/widgets/text-toolbar.cpp +++ b/src/widgets/text-toolbar.cpp @@ -448,7 +448,7 @@ static void sp_text_fontsize_value_changed( Ink_ComboBoxEntry_Action *act, GObje SPCSSAttr *css = sp_repr_css_attr_new (); Inkscape::CSSOStringStream osfs; 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)) { osfs << sp_style_css_size_units_to_px(size, unit) << sp_style_get_css_unit_string(SP_CSS_UNIT_PX); } else { osfs << size << sp_style_get_css_unit_string(unit); |
