fontello / svg2ttf

SVG -> TTF font convertor
MIT License
518 stars 79 forks source link

have to use command "node --max-old-space-size=8192 svg2ttf.js" #91

Closed creatxrgithub closed 4 years ago

creatxrgithub commented 4 years ago

have to use command "node --max-old-space-size=8192 svg2ttf.js"

maybe it could be optimized.

thanks

puzrin commented 4 years ago

I don't understand what are you talking about. Could you explain?

creatxrgithub commented 4 years ago

other message:

(node:11628) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

creatxrgithub commented 4 years ago

i have a large svg file (about 65535 glyphs), so i have to use option "--max-old-space-size=8192"

i think that maybe svg2ttf could be better.

@puzrin

puzrin commented 4 years ago

IMO that's a very specific case, i'm not interested spent time for such optimization. But if someone suggest PR, it will be accepted.

puzrin commented 4 years ago

Close as "wontfix"