Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some of the output font icons look crooked and sketchy #209

Open
Alimahmooodi opened this issue Jul 4, 2023 · 4 comments
Open

some of the output font icons look crooked and sketchy #209

Alimahmooodi opened this issue Jul 4, 2023 · 4 comments

Comments

@Alimahmooodi
Copy link

Alimahmooodi commented Jul 4, 2023

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:
image
The output font icon:
image

here is the SVG file if you want to try it yourself:
ballot-check

p.s: I have already tried svgFixer but it didn't help

@Alimahmooodi Alimahmooodi changed the title some of the output font icons look sketchy some of the output font icons look crooked and sketchy Jul 4, 2023
@jaywcjlove
Copy link
Owner

@schmidt-oliver
Copy link

@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,
}

@macaroni37
Copy link

@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

@Opty1712
Copy link

Opty1712 commented Apr 8, 2024

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants