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

Abbot is not handling correctly the css definition of web fonts #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mirion
Copy link

@mirion mirion commented Nov 14, 2013

In order to be usable by as many as possible browsers, web fonts are often defined using constructs like below. Unfortunately abbot doesn't like 'webfonts/wf.eot?#iefix' because it uses the given path as it is, not ignoring everything beginning with "?". Is searching a file named "wf.eot?#iefix"

@font-face {
  font-family: "wf";
  src: static_url('webfonts/wf.eot');
  src: static_url('webfonts/wf.eot?#iefix') format('embedded-opentype'),
       static_url('webfonts/wf.woff') format('woff'),
       static_url('webfonts/wf.ttf')  format('truetype'),
       static_url('webfonts/wf.svg#SSStandard') format('svg');
  font-weight: normal;
  font-style: normal;
}

… Such a case occurs for example when using web fonts in constructs like:

src: static_url('webfonts/my-webfont.eot?#iefix') format('embedded-opentype'),
static_url('webfonts/my-webfont.svg#bold') format('svg');
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

Successfully merging this pull request may close these issues.

3 participants