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

Update @font-face declarations in CSS style sheets #15

Closed
wants to merge 4 commits into from
Closed

Update @font-face declarations in CSS style sheets #15

wants to merge 4 commits into from

Conversation

eric-brechemier
Copy link

The format used for the @font-face declarations is now
the "Fontspring @font-face Syntax"[1] considered [2]
"the most simple and compatible one".

[1] The New Bulletproof @font-face Syntax
2011-02-03 (last updated: 2011-04-21)
http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax

[2] The @font-face Rule And Useful Web Font Tricks
2011-03-02, by Ralf Hermann
http://www.smashingmagazine.com/2011/03/02/the-font-face-rule-revisited-and-useful-tricks/

This is a first step for consistency before updating the format
of @font-face declarations.
The format used for the @font-face declarations is now
the "Fontspring @font-face Syntax"[1] considered [2]
"the most simple and compatible one".

[1] The New Bulletproof @font-face Syntax
2011-02-03 (last updated: 2011-04-21)
http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax

[2] The @font-face Rule And Useful Web Font Tricks
2011-03-02, by Ralf Hermann
http://www.smashingmagazine.com/2011/03/02/the-font-face-rule-revisited-and-useful-tricks/
An extra line was added in February 2011 to account for IE9 rendering
a page in compatibility mode for IE7 or IE8.

This extra line is still found today (2013) in the CSS of Web font kits
downloaded from Font Squirrel and Fontspring.
@alerque
Copy link
Member

alerque commented Nov 2, 2020

Any part of this that's still relevant should be contributed as part of theleagueof/fontship#77

I'm sorry these contributions didn't get merged when they were relevant! Hopefully the contributor workflow will be a bit better now.

@alerque alerque closed this Nov 2, 2020
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.

2 participants