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

Not generating font. #327

Open
bilalmalkoc opened this issue Dec 25, 2020 · 1 comment
Open

Not generating font. #327

bilalmalkoc opened this issue Dec 25, 2020 · 1 comment

Comments

@bilalmalkoc
Copy link

Some svg images not compiling. For example:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="53.227" height="21.668" viewBox="0 0 53.227 21.668">
    <path d="M0,33.434a10.826,10.826,0,0,0,7.791-3.346,10.779,10.779,0,0,0,15.613,0,10.78,10.78,0,0,0,15.614,0A10.767,10.767,0,0,0,52.9,31.555" transform="translate(0 -12.356)" fill="none" stroke="#033252" stroke-width="2"/>
    <path d="M45.142,7.028,40.237,1S34.2.861,20.271,9.293" transform="translate(-8.324 -0.411)" fill="none" stroke="#033252" stroke-width="2"/>
    <line x2="3.902" y2="5.398" transform="translate(26.675 1.728)" fill="none" stroke="#033252" stroke-width="2"/>
    <path d="M4.424,27.347,1.867,20.188l51.3-3.346a21.632,21.632,0,0,1-9.932,10.229" transform="translate(-0.767 -6.916)" fill="none" stroke="#033252" stroke-width="2"/>
    <path d="M5.652,17.883l1.371-2.672A2.23,2.23,0,0,1,8.8,14.01l28.926-2.728a19.957,19.957,0,0,1,2.772-.01,51.817,51.817,0,0,1,14.227,3.266" transform="translate(-2.321 -4.611)" fill="none" stroke="#033252" stroke-width="2"/>
</svg>
@jimmyandrade
Copy link
Collaborator

@bilalmalkoc sorry for the delay. Could you please try version 10.0.0 to check if it works? Otherwise, could you try to use svgo for cleaning/optimizing SVGs before processing them with Webfont? Thanks!

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

2 participants