r17433 by jghali - #10671: incorrect text size when importing svg generated by Dia
scribus-commit
scribus-commit at lists.scribus.net
Thu Apr 12 19:20:42 UTC 2012
Author: jghali
Date: Thu Apr 12 19:20:41 2012
New Revision: 17433
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17433
Log:
#10671: incorrect text size when importing svg generated by Dia
Modified:
branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17433&path=/branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/import/svg/svgplugin.cpp Thu Apr 12 19:20:41 2012
@@ -1677,7 +1677,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