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 file generated by http://fontcustom.com not properly compressed #90

Closed
meritt opened this issue Dec 27, 2012 · 3 comments
Closed

SVG file generated by http://fontcustom.com not properly compressed #90

meritt opened this issue Dec 27, 2012 · 3 comments
Assignees
Labels

Comments

@meritt
Copy link

meritt commented Dec 27, 2012

Example, https://dl.dropbox.com/u/2195638/fontcustom.svg and compressed version https://dl.dropbox.com/u/2195638/fontcustom.min.svg

I think something wrong :)

@ghost ghost assigned deepsweet Dec 27, 2012
@meritt
Copy link
Author

meritt commented Jan 21, 2013

В целом всё стало хорошо, но есть один момент. fontcustom.com вставляет шрифт в CSS таким образом

@font-face {
  src: url("font.svg#id") format("svg");
}

А оптимизатор вырезает id. Конечно, нет проблем убрать id из CSS, но это будет не всем очевидно.

@deepsweet
Copy link
Member

этот момент лучше регулировать через --disable cleanupIDs, т.к. автоматически угадать что ID используется где-то во внешних технологиях практически нереально

@meritt
Copy link
Author

meritt commented Jan 21, 2013

Согласен, спасибо за багфикс!

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

No branches or pull requests

2 participants