L2jLiga/grunt-webfonts

SVG transform (translate) is not taken into account (node converter) which leads to glitches

Th3S4mur41 opened this issue · 5 comments

See for instance
image

The vertical line on the icon should actually go from top right to bottom left.
See following icons for some original SVG, that are fine as is, but have glitches when added to the font with node.
glitches.zip

Looks like the transform (translate) operation on rect is not being taken into account

@Th3S4mur41 is it reproducible only on latest version or on previous too?

Indeed with 1.0.10, some icons were ok... Other were already showing problems, but slightly different...
With 1.1.2, all icons show the same issue: the strikethrough horizontal.

With 1.0.10, the icon above is fine. But svg-icon-general-video-on from the zip above has a whole different glitch
image

Okey, then I need to go dipper into svgo and element-to-path packages and try to understand why it happens..

In my vision problem should gone if you will transform your svg's shapes into compound path, because while svg font generating svgicons2svgfont transform they to path

@L2jLiga any progress on this?

v1.1.4 released