Closed davidgodzsak closed 1 year ago
I like the idea.
Option 1 won't work because not all glyphs are encoded; a font with a.alt
and A.alt
glyphs would fail.
I think we could just use FontTools' userNameToFileName
method, which essentially adds an _
(underscore) after each capital letter.
I will make a PR next weekend
It would be nice to have a flag to save all the svg files to the same output folder instead of adding the nested folder.
Using the letter describing the glyph is impossible as some operating sysems are case insensitive:
a.svg
andA.svg
are the same.I have 2 possible suggestions:
A_U0041.svg
,a_U0061.svg
) automatically (CMAP
could be used for this)--prefix-non-uinque lower_
would producelower_a.svg
)