mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 11:22:44 +00:00
smaller font-size in SVG print
This commit is contained in:
@@ -1045,9 +1045,13 @@ void SvgSerializer::writeHeader() {
|
|||||||
" }\n";
|
" }\n";
|
||||||
|
|
||||||
if (scale_) {
|
if (scale_) {
|
||||||
|
// previously:
|
||||||
|
// (pt) (px) (in) (mm)
|
||||||
|
// approx 12 / 0.75 / 96 * 25.4
|
||||||
|
|
||||||
svg_file <<
|
svg_file <<
|
||||||
" text {\n" // (pt) (px) (in) (mm)
|
" text {\n"
|
||||||
" font-size: 4;\n" // approx 12 / 0.75 / 96 * 25.4
|
" font-size: 2;\n" // (reduced to two).
|
||||||
" }\n"
|
" }\n"
|
||||||
" path {\n"
|
" path {\n"
|
||||||
" stroke-width: 0.3;\n"
|
" stroke-width: 0.3;\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user