svgtofont
svgtofont copied to clipboard
some of the output font icons look crooked and sketchy
When I use svgtofont to convert the SVGs some of the font icons look different from the original SVG file. anybody knows the reason behind this issue?
here is a photo of an example:
Original SVG:
The output font icon:
here is the SVG file if you want to try it yourself:
p.s: I have already tried svgFixer but it didn't help
@Alimahmooodi
- https://github.com/jaywcjlove/svgtofont/issues/195#issuecomment-1609418046
@Alimahmooodi Try setting the font height to 1000 or higher. You can think of the value as something like precision rather than size.
svgicons2svgfont: {
fontHeight: 1000,
}
@Alimahmooodi Try setting the font height to 1000 or higher. You can think of the value as something like precision rather than size.
svgicons2svgfont: { fontHeight: 1000, }
Confirmed this extra setting fixed the issue
@Alimahmooodi Try setting the font height to 1000 or higher. You can think of the value as something like precision rather than size.
svgicons2svgfont: { fontHeight: 1000, }
confirm it works!