
內容簡介
Embed Google Fonts 會嘗試自動替換主題和外掛中已註冊的 Google 字型,直接從您自己的伺服器加載本地版本。
貢獻: https://github.com/moewe-io/embed-google-fonts
注意事項
第一次請求可能會非常緩慢,因為字型會在第一次請求時被下載和緩存。
這不會自動用本地版本替換所有的 Google 字型。如果插件/主題沒有使用 WordPress wp_enqueue_style,可能不會起作用。
已加載的字型未經優化,意味著整個字型包括所有子集都會被加載。
有關使用直接主機本地字型的說明,請參見常見問題解答以避免使用 Heroku。
感謝:字型的下載是使用以下網址進行的: https://gwfh.mranftl.com/fonts
外掛標籤
開發者團隊
原文外掛簡介
Embed Google Fonts tries to automatically replace registered Google Fonts from themes and plugins with local versions, directly loaded from your own server.
Contribute: https://github.com/moewe-io/embed-google-fonts
Notes
The first request might be very slow, as fonts are downloaded and cached the first time they are requested.
This doesn’t automatically replace all your Google fonts with local versions. If a plugin/theme doesn’t use WordPress wp_enqueue_style it probably won’t work.
Loaded fonts are not optimized, means, the whole font including all subsets is loaded
See FAQ for instructions to use locally hosted fonts directly and avoid using Heroku
Thank you: Fonts are downloaded using: https://gwfh.mranftl.com/fonts
