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

Fixes bug in the new font-face mixin #595

Merged
merged 1 commit into from Dec 12, 2014
Merged

Fixes bug in the new font-face mixin #595

merged 1 commit into from Dec 12, 2014

Conversation

tysongach
Copy link
Contributor

@whmii Would you mind taking a look at this?

woff2: $font-url + "(\"#{$file-path}.woff2\")" format("woff2"),
woff: $font-url + "(\"#{$file-path}.woff\")" format("woff"),
ttf: $font-url + "(\"#{$file-path}.ttf\")" format("truetype"),
svg: $font-url + "(\"#{$file-path}.svg##{$font-family}\")" format("svg")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interpolation seems simpler to me than escaping these quotes. Even if we are preferring double quotes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were having a hard time stripping the quotes from the output later, which was the cause of the original bug.

@joshuaogle
Copy link
Contributor

This looks good other than the question of quotes. Excited to have WOFF2 in here 👍

@kaishin
Copy link

kaishin commented Dec 11, 2014

Looking good.

- Fix format of ttf files to truetype
- Remove EOT src that didn’t have iefix query
- Use double quotes
- Fixes #594
@tysongach tysongach merged commit 4e15ab1 into master Dec 12, 2014
@tysongach tysongach deleted the tg-font-face branch December 12, 2014 21:39
@chrisnicola
Copy link

Yeah I just noticed this bug.

@tysongach
Copy link
Contributor Author

@ollym @chrisnicola We’re looking into it. Thanks for the heads up!

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

Successfully merging this pull request may close these issues.

font-face mixin renders CSS that does not work
6 participants