Skip to content

dynamic svg size for SamsaGlyph.prototype.svg()#75

Open
wentin wants to merge 1 commit intoLorp:masterfrom
wentin:patch-1
Open

dynamic svg size for SamsaGlyph.prototype.svg()#75
wentin wants to merge 1 commit intoLorp:masterfrom
wentin:patch-1

Conversation

@wentin
Copy link
Contributor

@wentin wentin commented Feb 10, 2022

update SamsaGlyph.prototype.svg function so the exported SVG's width and height is set dynamically with font.unitsPerEm
this helps with fonts with non-standard canvas size.

update SamsaGlyph.prototype.svg function so the exported SVG's width and height is set dynamically with font.unitsPerEm
this helps with fonts with non-standard canvas size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant