Comments (5)
? Please provide a clear description for your encountered error + instructions to reproduce it.
from google-webfonts-helper.
I've used the tool a couple of days ago, but today there seems to be a problem with some woff2 files.
An example is the Oswald font. The file "oswald-v10-latin-300.woff2" is now 5kb smaller (~15kb => ~10kb) and the browser can't render it anymore.
I can't tell, if it's the fault of the tool or Google.
from google-webfonts-helper.
There seems to be an issue with the new UserAgent https://github.com/majodev/google-webfonts-helper/blob/master/server/logic/conf.js#L5
I'm not totally sure what the most compatible way to get the woff2 format currently. I've recently updated it, as the old specified UserAgent no longer returned anything...
For refererence:
Old (no longer working): Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/38.0.2125.104 Safari/537.36
New (invalid?): Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
from google-webfonts-helper.
Google seems to deliver latin and latin-ext, even if latin-ext is not requested.
/* latin-ext */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 300;
src: local('Oswald Light'), local('Oswald-Light'), url(https://fonts.gstatic.com/s/oswald/v10/l1cOQ90roY9yC7voEhngDBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 300;
src: local('Oswald Light'), local('Oswald-Light'), url(https://fonts.gstatic.com/s/oswald/v10/HqHm7BVC_nzzTui2lzQTDVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
Maybe your tool only fetches the first (and wrong) entry, because it expects only latin?
from google-webfonts-helper.
@TechInterMezzo perfect - big THX for the heads up!
unicode-range parsing (and splitting up woff2 files) is not yet supported by the utility. This must have been the problem. I've exchanged the UserAgent that fetches these woff2 css files from google to an older Firefox Browser (which supports woff2, but not unicode-range).
Please redownload the font files if you have used this tool in the last 2 days.
from google-webfonts-helper.
Related Issues (20)
- Application error HOT 6
- Self Hosted Alternative HOT 9
- Future of project: Will the hosted version remain on Heroku? HOT 3
- Not all styles in download HOT 1
- WOFF2-only CSS option HOT 9
- added local font not visible in Theme 2023 editor
- Fugo
- Add font name in title tag
- Website is down HOT 1
- Nunito (not Nunito Sans) HOT 1
- Feature request: support for arm in docker images HOT 1
- t
- Internal Server Error at font "Wix Madefor Text" HOT 4
- Missing styles for Roboto Flex HOT 5
- ttf in Legacy, but no woff HOT 4
- Outline overlap present in downloaded webfonts — causing display issue in older Safari versions HOT 1
- Noto Color Emoji: missing characters? HOT 1
- EOT FIles missing in the Zip File (Historic Support) HOT 2
- 'Source Sans 3' Uses Incorrect Family Name
- Searching for the Font "Play" causes everything to display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-webfonts-helper.