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

Google Fonts APIで公式にサポートされた font-display 指定機能を利用 #3

Merged
merged 1 commit into from
May 17, 2019

Conversation

tadd
Copy link
Owner

@tadd tadd commented May 17, 2019

google/fonts#358 (comment) のとおり、8日ほど前のGoogle I/Oで、Google Fonts APIによって公式に font-display を指定する機能が実装されたとアナウンスされたようです。
https://developers.google.com/fonts/docs/getting_started#use_font-display

今までは、Google提供のCSSファイル内に font-display: swap を挟むためだけに独自機構を使っていましたが、それをする必要が無くなったので、CSSとして直接上記APIを参照する形式に修正します。

@tadd tadd merged commit 732c16c into master May 17, 2019
@tadd tadd deleted the use-font-display-swap-function-of-google-fonts-api branch May 17, 2019 01:51
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.

1 participant