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
Some fonts are not based on 1000 units, it would be better if the width and height of the SVG can be set dynamically, based on the font data, such as unitsPerEm
Right now it is being hardcoded as width="1000" height="1000"
#75
I submitted a Pull Request to solve this issue.
Please note: I think it would be better to set the svg width based on this glyph's actual canvas width, but don't know what is the best way to access it. I settled for unitsPerEm for now.
Some fonts are not based on 1000 units, it would be better if the width and height of the SVG can be set dynamically, based on the font data, such as
unitsPerEm
Right now it is being hardcoded as
width="1000" height="1000"
The text was updated successfully, but these errors were encountered: