mapbox / node-fontnik

Fonts ⇢ protobuf-encoded SDF glyphs
BSD 3-Clause "New" or "Revised" License
222 stars 65 forks source link

Cannot render gift-24 icon from Maki v1 #147

Open hyperknot opened 6 years ago

hyperknot commented 6 years ago

It seems that node-fontnik cannot parse or render one particular icon, the gift-24 SVG from Maki v1.

I'm creating PBF from SVGs using an IcoMoon font. In my selection of cca. 60 icons every other SVG worked flawlessly, except this one.

It's probably possible to manually fix the SVG, I just wanted to report this.

IcoMoon minimal reproducible case JSON: https://www.dropbox.com/s/njdzd5mhpuqzbrq/fontnik-bug.json?dl=0

Generated TTF: https://www.dropbox.com/s/wjppjd18gd34p90/fontnik-bug.ttf?dl=0

gift-24 source: https://github.com/mapbox/maki/blob/v0.5.0/src/gift-24.svg?short_path=75aded5

springmeyer commented 6 years ago

What is the error message or exact problem?

hyperknot commented 6 years ago

No error message, just silently that character isn't visible on mapbox-gl map.