You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1/64-pixel is the "natural" unit for TrueType and FreeType ("F26Dot6").
Using it makes glyphs recorded in SVG files shorter, e.g.
```
M 88.796875 4.296875
Q 88.796875 2.09375 87.140625 0.5
Q 85.5 -1.09375 83.203125 -1.09375
```
becomes
```
M 1113 -72
Q 709 -72 476 233
Q 244 538 244 953
```
(the concatenated svg output of test_mathtext.py is ~10% shorter)
and easier to compare with FreeType values when troubleshooting font
embedding. An additional `transform="scale(0.015625)"` (i.e. 1/64) is
added at the end to scale the glyph, but given that a further scaling
and translation is done to actually render the glyph at the right size
and position in the svg, I doubt that this really affects svg renderer
performance (likely they can compose the two scalings first).
0 commit comments