Fix text scale #1008 (#1010)

* update dependencies

* fix #1008 by adjusting font-size

(allowing to keep the text keep his proportions to the font)

* refactor math.js
This commit is contained in:
JFH
2024-12-27 21:37:05 +01:00
committed by GitHub
parent f0549e4629
commit 403237c182
18 changed files with 810 additions and 521 deletions

View File

@@ -2,6 +2,6 @@
<g class="layer">
<title>Layer 1</title>
<text fill="#000000" font-family="Serif" font-size="24" font-style="italic" font-weight="bold" id="svg_1" stroke="#000000" stroke-width="0" text-anchor="middle" x="200" xml:space="preserve" y="200">AB</text>
<text fill="#000000" font-family="Serif" font-size="24" id="svg_2" stroke="#000000" stroke-width="0" text-anchor="middle" transform="matrix(1 0 0 1 0 0)" x="220" xml:space="preserve" y="220">AB</text>
<text fill="#000000" font-family="Serif" font-size="20" id="svg_2" stroke="#000000" stroke-width="0" text-anchor="middle" transform="matrix(1 0 0 1 0 0)" x="220" xml:space="preserve" y="220">AB</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 574 B