Skip to content

SVG inverted order #550

@JasterTDC

Description

@JasterTDC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions