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

SVG inverted order #550

Open
JasterTDC opened this issue May 6, 2024 · 0 comments
Open

SVG inverted order #550

JasterTDC opened this issue May 6, 2024 · 0 comments

Comments

@JasterTDC
Copy link

Hello there, I'm using fantasticon in order to convert svg icons into fonts. In the last version it seems to be that the icons are being read backwards. I add the css generation from version 2 and version 3, in order to see the problem clearly.

This is an example of the css for the version 3.0.0.

.007-plant:before {
    content: "\f101";
}
.006-sport-car:before {
    content: "\f102";
}
.005-back-arrow:before {
    content: "\f103";
}
.004-right-arrow-forward:before {
    content: "\f104";
}
.003-keyboard-right-arrow-button-1:before {
    content: "\f105";
}
.002-keyboard-left-arrow-button:before {
    content: "\f106";
}
.001-keyboard-right-arrow-button:before {
    content: "\f107";
}

And this is the css for the previous version, 2.0.0.

.001-keyboard-right-arrow-button:before {
    content: "\f101";
}
.002-keyboard-left-arrow-button:before {
    content: "\f102";
}
.003-keyboard-right-arrow-button-1:before {
    content: "\f103";
}
.004-right-arrow-forward:before {
    content: "\f104";
}
.005-back-arrow:before {
    content: "\f105";
}
.006-sport-car:before {
    content: "\f106";
}
.007-plant:before {
    content: "\f107";
}

Between these two you can see clearly that if we add a new icon in order to generate the font it will be inserted the first so it will break all our entire font. In the version 2, we don't have this problem.

Best regards,
Ismael

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

1 participant