{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/bourbon/issues/633","labels_url":"https://api.github.com/repos/thoughtbot/bourbon/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/bourbon/issues/633/comments","events_url":"https://api.github.com/repos/thoughtbot/bourbon/issues/633/events","html_url":"https://github.com/thoughtbot/bourbon/issues/633","id":54945964,"number":633,"title":"Weird behavior for woff2 fonts with font-face","user":{"login":"geoffharcourt","id":319471,"avatar_url":"https://avatars.githubusercontent.com/u/319471?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffharcourt","html_url":"https://github.com/geoffharcourt","followers_url":"https://api.github.com/users/geoffharcourt/followers","following_url":"https://api.github.com/users/geoffharcourt/following{/other_user}","gists_url":"https://api.github.com/users/geoffharcourt/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffharcourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffharcourt/subscriptions","organizations_url":"https://api.github.com/users/geoffharcourt/orgs","repos_url":"https://api.github.com/users/geoffharcourt/repos","events_url":"https://api.github.com/users/geoffharcourt/events{/privacy}","received_events_url":"https://api.github.com/users/geoffharcourt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-20T21:56:12Z","updated_at":"2015-01-21T17:06:28Z","closed_at":null,"body":"I am having an issue with the font-face mixin. When I use `$asset-pipeline: true`, I get the correct paths for all of the font formats (pulling from the path `/assets/fontname-digest.format`) in my fonts folder except for the woff2 font, which has a different path (`/fonts/fontname.woff2`). I have this line in my stylesheet:\r\n\r\n```sass\r\n@include font-face(fontello, 'fontello', normal, $asset-pipeline: true);\r\n```\r\n\r\nWhite produces this CSS:\r\n```css\r\n@font-face {\r\n  font-family: fontello;\r\n  font-style: normal;\r\n  font-weight: normal;\r\n  src: url(/assets/fontello-c7d6b3fc8ff75d942cd68d42f95f8192.eot?#iefix) format(\"embedded-opentype\"), url(/fonts/fontello.woff2) format(\"woff2\"), url(/assets/fontello-aef1909e54e9020b4a3fc43e0eb021d7.woff) format(\"woff\"), url(/assets/fontello-6902369cbc821797f104f3a500ed7023.ttf) format(\"truetype\"), url(/assets/fontello-43a1679a6e689edbf5c461f58c19b98e.svg#fontello) format(\"svg\");\r\n}\r\n```\r\n\r\nIt looks like the prefixer is not assigning the path or digest to the woff2 file.\r\n\r\nI am using Bourbon 4.1.1 with Rails 4.2.0."},"comment":{"url":"https://api.github.com/repos/thoughtbot/bourbon/issues/comments/70877295","html_url":"https://github.com/thoughtbot/bourbon/issues/633#issuecomment-70877295","issue_url":"https://api.github.com/repos/thoughtbot/bourbon/issues/633","id":70877295,"user":{"login":"tysongach","id":903327,"avatar_url":"https://avatars.githubusercontent.com/u/903327?v=3","gravatar_id":"","url":"https://api.github.com/users/tysongach","html_url":"https://github.com/tysongach","followers_url":"https://api.github.com/users/tysongach/followers","following_url":"https://api.github.com/users/tysongach/following{/other_user}","gists_url":"https://api.github.com/users/tysongach/gists{/gist_id}","starred_url":"https://api.github.com/users/tysongach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysongach/subscriptions","organizations_url":"https://api.github.com/users/tysongach/orgs","repos_url":"https://api.github.com/users/tysongach/repos","events_url":"https://api.github.com/users/tysongach/events{/privacy}","received_events_url":"https://api.github.com/users/tysongach/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T17:06:28Z","updated_at":"2015-01-21T17:06:28Z","body":"The number is a unique fingerprint from the Asset Pipeline. Do you have a WOFF2 font file in your `fonts` directory? If not, the URL string will not be output correctly as it can’t actually find the file. Try removing WOFF2 from the `$file-formats` argument:\r\n\r\n```scss\r\n@include font-face(\"Fontello\", \"fontello\", normal, $asset-pipeline: true, $file-formats: eot woff ttf svg);\r\n```\r\n\r\n_Remove any other formats that you don’t have, as well!_\r\n\r\nI’ll be putting up a PR shortly to better explain the `$file-formats` argument in Bourbon’s docs."}}