Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Funny @font-face in generated HTML #331

Open
jlchereau opened this issue Apr 29, 2016 · 3 comments
Open

Funny @font-face in generated HTML #331

jlchereau opened this issue Apr 29, 2016 · 3 comments
Labels

Comments

@jlchereau
Copy link

This is a follow-up to #329 after adding autoHint:false and upgrading to the latest release (v1.3.1).
#329 has my web.config.js.

The generated LESS file has (as before and as in the previous HTML):

@font-face {
    font-family:"kidoju";
    src:url("kidoju.eot");
    src:url("kidoju.eot?#iefix") format("embedded-opentype"),
        url("kidoju.woff") format("woff"),
        url("kidoju.ttf") format("truetype");
    font-weight:normal;
    font-style:normal;
}

But the generated HTML file now has:

@font-face {
    font-family:"kidoju";
    src:../../u../../r../../l../../(../../"../../k../../i../../d../../o../../j../../u../../.../../e../../o../../t../../"../../)../../;
    src:../../u../../r../../l../../(../../"../../k../../i../../d../../o../../j../../u../../.../../e../../o../../t../../?../../#../../i../../e../../f../../i../../x../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../e../../m../../b../../e../../d../../d../../e../../d../../-../../o../../p../../e../../n../../t../../y../../p../../e../../"../../)../../,../../
../../  ../../  ../../u../../r../../l../../(../../"../../k../../i../../d../../o../../j../../u../../.../../w../../o../../f../../f../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../w../../o../../f../../f../../"../../)../../,../../
../../  ../../  ../../u../../r../../l../../(../../"../../k../../i../../d../../o../../j../../u../../.../../t../../t../../f../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../t../../r../../u../../e../../t../../y../../p../../e../../"../../)../../;
    font-weight:normal;
    font-style:normal;
}

Any clue what this might be?

@rojorojo
Copy link

rojorojo commented May 9, 2016

I've noticed the same issue on my end as well.

@fry2k
Copy link

fry2k commented May 10, 2016

I had the same problems and posted a fix there: #318 (comment)

@stephanebachelier
Copy link

same here. The fix proposed by @fry2k in #318 did the trick.

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

No branches or pull requests

5 participants