Redesigned Google Fonts website
material.io
material.io
Usually it means large teams of designers have to be seen doing something and are constantly redesigning things and inventing paradigm no one asked about.
In this case though, the new design is a step forward. I always found the previous version significantly worse than the original. Those panels that tease you about what you have like a shopping cart was annoying. It seems now it's more of a conscious side panel I can dismiss and nail to the side(?)
I like swipping down like crazy and instantly seeing fonts I've never seen before. It's fast, responsive and fun!
The new navigation is definitely better.
I switched most of my sites to use it and I’ve been quite happy so far. It just works.
No need to leak data to Google.
For weirder stuff (e.g. https://tidings.potato.horse) I use sites like dafont.com and convert fonts using Font Squirrel.
For the unaware, what about Google Fonts is a privacy leak?
Given Google's business model, I personally don't have a reason to trust them with my visitor's data, no matter what they do with it. Self-hosting the required fonts is a 2-minute job anyway.
But its still not clear wether that satisfys the GDPR or not, better be safe and host the fonts on your CDN or locally.
They couldn't write it so boldly without risk of litigation unless that actually was the case, so I would consider it safe to use.
Users: it’s a good idea to block all third-party fonts so you’re not leaking data (filter rule: *$font,third-party). Unlike scripts/styles, fonts generally don’t hurt the UX (unless a developer is using icon font which haven’t been best practice in a decade--which is ironic considering this blog is broken).
Developers: vendor these Google Fonts (most are licensed SIL) as other have noted in this thread & host them first-party for the benefit of your users. If the cost (hosting or performance) is too much to host the fonts, consider using less fonts because users are still paying for the bandwidth. (I am still pro-web fonts, as they can be in improvement on the UX, just be smart about it).
But it seems like it just depends on which judge you get. There are thousands of sites in Europe that use Cloudflare, Google Fonts and Shopify and only a few that have been fined because of it.
[0]: https://www.theregister.com/2022/01/31/website_fine_google_f...
[1]: https://lsww-de.translate.goog/shopify-illegal/?_x_tr_sl=de&...
- this is ridiculous. “Leaking an ip address on the internet!?” - so isps are screwed?
- it was a 100£ fine.
https://github.com/google/fonts/issues/1495
...still apparently up in the air, more than five years after the GDPR went into effect.
> The Google Fonts Web API does not log or store IP addresses.
The linked source [2] only says that they don't use IPs to create profiles or to target ads. They very well might store them. Even giving them the benefit of the doubt, they can change their mind at any time and suddenly one is in legal jeopardy.
[1] https://github.com/google/fonts/issues/5463#issuecomment-129... [2] https://developers.google.com/fonts/faq/privacy
This is just another way to get fonts, no? It could be convenient to some, but doesn’t do much more than let you preview the a font & download it. Is a Node package manager the right tool to be downloading fonts?
This is sadly quite common though, even and especially on hugely popular web sites.
> filters are now easier to reach and sectioned out meaningfully
"Technology" is not a meaningful section, and in general having section taking more space than its content of just a single item doesn't help
It’s a particular shame given what a truly rich typographic library Google Fonts has grown to be: transitional and oldstyle serifs, didones, humanist sans, geometric sans, grotesks, even frakturs… all of this is flattened into an MS Word-caliber set of classifications that still calls script display types “handwriting” fonts.
I have some proportional fonts that are perfect for some use cases except that they don't display block characters correctly and/or their digit characters are not of uniform width, and I fixed that by copy pasting from the corresponding code points from monospace fonts.
Also it's many files, not just one (though hopefully variadic fonts will catch on), so unfortunately patching fonts is a bit more complicated :( (but if it's literally close to just one thing, that it could still be worth it)
efficient, effluent eggs 3690 Il1 GQ To AV Va Yo
... which shows ligatures (if any), old-style numerals (if any), descenders, the zero in a code font, differentiation among similar-looking characters, and familiar kerning pairs (if any).
You can't find Source Code Pro with any of the 3 Decorative stroke flagged even though that's supposed to be an exhaustive list (serif, no serif, slab serif)
Edit: Pressing Select [font name] + adds it to a "shopping cart", where it displays the code to copy it to a website. I am dumb.
0. http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=...
Why do you think so?
Why is now everything on the left side? The filter is compared to the filters of adobe or other big font sites more or less unsophisticated. Why always this senseless upgrades?
EDIT: To be clear I'm talking about the font page not the post announcing it.
The alternative would be preloaded all fonts which would simply crash slow devices and waste bandwidth.
On a Pixel, the bottom navigation obscures the cookie and privacy banner (making that permanent) and trying to change the font language results in a fight for focus between Google Keyboard and the typeahead select, resulting in everything closing.
Hard to be enthusiastic.
Edit: Going landscape allowed me to dismiss the cookie banner.
google...
For the ultra paranoid font files are to be avoided because fonts raise the complexity and thus the attack surface — I can't imagine an attacker couldn't use a malicous font or a zero-day in the font rendering engine to exploit a client.
I don't think it's quite the same, though! If you go to Open Sans, for example (https://fonts.google.com/specimen/Open+Sans?query=open+sans), and preview the CSS that it generates for the Regular style, then you'll get this: https://fonts.googleapis.com/css2?family=Open+Sans&display=s...
You'll notice that it uses a lot of the unicode-range property, to split the font up into different languages, so not everything needs to be downloaded for every site (e.g. if your site doesn't have cyrillic characters), in addition to them serving WOFF2 as well:
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
In the downloaded archive, realistically you'll only have the TTF variation, like OpenSans-Regular.ttf, and will have to think about WOFF and WOFF2 conversions yourself. While those aren't too hard to do, splitting fonts up I still haven't figured out, so many of my sites with self hosted fonts have like 400 KB of arguably unnecessary overhead (I rather like the PT font family), which in some cases is the majority of the total download size.I actually started building my own site where I'd keep some of the converted fonts that I personally like, but obviously it's not meant for greatness: https://fonts.kronis.dev/ (maybe some day I'll go back to it and actually figure out the font splitting)
Edit: in case anyone is curious about how to convert fonts, on Debian/Ubuntu I found these tools to be helpful: woff-tools woff2
I use them like so:
sfnt2woff "some-font.ttf"
woff2_compress "some-font.ttf"People self-hosting Montserrat are one bane of older browsers, because that seems to be a relatively popular font that got converted to a variable font file at some point, and which in browsers without variable font weight support then gets displayed at the thinnest possible font weight, which is really thin. (I concede that this is a niche complaint, but still…)
Now I'm off to find an extension that serves local copies of common Google fonts.
Why does anyone expect a private company to serve fonts for them without any interest to extract value.
If you want the fonts, read its license and find a way to acquire them and host it yourself for performance, security, privacy and peace of mind.
Someone here already linked the Google font downloader tool…
Google has nearly 100% search market share, so one of the only ways that they can increase search traffic at this point is by increasing web traffic in general. One of the ways they do this is by making it easier to create web content by e.g. distributing fonts.
See Gwern Branwen's excellent article on the subject: https://gwern.net/complement