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

Icon names in the svg file #6842

Open
ghost opened this issue Jun 29, 2015 · 6 comments
Open

Icon names in the svg file #6842

ghost opened this issue Jun 29, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 29, 2015

Many icon names in the svg file do not match the actual names of the icons. In our application we show the name from svg file for each icon and does not match the name that you have given them. Can you correct them?
Thank you very much.
Regards,
Jose A.

@tagliala
Copy link
Member

Hi,

we can't fix this because the .svg file is automatically generated by Font Squirrel webfont generator tool: http://www.fontsquirrel.com/tools/webfont-generator

If you have special needs, you should write a script that adds name to .svg file

Hope it helps

Closing here

@ghost
Copy link
Author

ghost commented Jun 30, 2015

You do not have to modify the SVG. You have to change your source, ie, the TTF file, so that when the svg is automatically generated, the names of the icons match the names of your website.

@tagliala
Copy link
Member

the .ttf file is also automatically generated

maybe we can do something with the .otf file?

@ghost
Copy link
Author

ghost commented Jun 30, 2015

Sure, you must change the name in the source file that generated the other formats.
If the source file is the OTF, then you should modify in that file.
Thanks Geremia.

@tagliala
Copy link
Member

tagliala commented Jul 1, 2015

I'm going to reopen as enhancement. Don't know if fontsquirrel will keep names in the svg files during the generation process, it might skip them to produce a smaller svg file.

@tagliala tagliala reopened this Jul 1, 2015
@ghost
Copy link
Author

ghost commented Jul 1, 2015

From what I have observed, in the generation of SVG, the names of each element are passed to svg.
Thanks Geremia.

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

No branches or pull requests

1 participant