Closed sabberworm closed 9 years ago
Hi @sabberworm
I really appreciate your PRs. Supporting ligatures will be a great improvement for this library.
Sadly, there is no tests coming with your PRs. I can do it if you wish but it will require me to dive deeper into the ligature subject and take a while.
If you can, please add some tests for this new feature, otherwise, i'll try to do so as soon as possible. Please let me know if there is something to be aware of to do the right tests.
Of course, i'm here to help if you have any question.
Reading your code, i think that to support ligatures, the best would be to change the glyph.codepoint
option to a glyph.codepoints
one and to also consider ligatures as glyphs but with several codepoints.
It will ship in the 2.0 version since some other breaking changes will appear in that version.
Closing this PR since i will change its implementation.
I’ve sent a pull request to svg2ttf implementing ligature support. This means svgicons2svgfont should now start generating ligature glyphs in SVGs. The implementation is very hacky, I’m not offended if you want me to improve it, just tell me (I’m rather picky with pull requests on my own projects)…