Skip to content

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