r17434 by jghali - #10671: incorrect text size when importing svg generated by Dia
scribus-commit
scribus-commit at lists.scribus.net
Thu Apr 12 19:21:07 UTC 2012
Author: jghali
Date: Thu Apr 12 19:21:06 2012
New Revision: 17434
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17434
Log:
#10671: incorrect text size when importing svg generated by Dia
Modified:
trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
Modified: trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17434&path=/trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/svg/svgplugin.cpp Thu Apr 12 19:21:06 2012
@@ -1898,7 +1898,7 @@
font.setOverline(overline);
font.setStrikeOut(strikeOut);
}
- font.setPointSize(style.FontSize / 10);
+ font.setPointSizeF(style.FontSize / 10.0);
return font;
}
More information about the scribus-commit
mailing list