smaller font-size in SVG print

This commit is contained in:
Thomas Krijnen
2020-09-27 14:28:07 +02:00
parent e17c6e4c9f
commit 88bfa6fa96
+6 -2
View File
@@ -1045,9 +1045,13 @@ void SvgSerializer::writeHeader() {
" }\n";
if (scale_) {
// previously:
// (pt) (px) (in) (mm)
// approx 12 / 0.75 / 96 * 25.4
svg_file <<
" text {\n" // (pt) (px) (in) (mm)
" font-size: 4;\n" // approx 12 / 0.75 / 96 * 25.4
" text {\n"
" font-size: 2;\n" // (reduced to two).
" }\n"
" path {\n"
" stroke-width: 0.3;\n"