Live data from Hacker News

Redesigned Google Fonts website

material.io

11–20 of 90 posts

Re: Redesigned Google Fonts website

#11
post #2

Google fonts is just another way for Google to track users.

Not if you download the zip and host it yourself - which you can do

That is not what most people will do. if you have a reasonable % sample, you can make valid assessments of the population

Re: Redesigned Google Fonts website

#12
post #6

So how do I find fonts that have 0s with a dot in the middle? > 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

You could scroll through https://fonts.google.com/?preview.text=0&preview.text_type=c...

Re: Redesigned Google Fonts website

#14
post #2

Google fonts is just another way for Google to track users.

Not if you download the zip and host it yourself - which you can do

> Not if you download the zip and host it yourself - which you can do

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"

Re: Redesigned Google Fonts website

#15
post #6

So how do I find fonts that have 0s with a dot in the middle? > 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

This is a long-running a shortcoming of Google Fonts, and as much as this is a welcome UI upgrade, it unfortunately does nothing to address the paltry set of tags that have passed for a taxonomy since Google Fonts’ inception.

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.

Re: Redesigned Google Fonts website

#18
post #2

Google fonts is just another way for Google to track users.

Not if you download the zip and host it yourself - which you can do

I use an extension called LocalCDN (iirc) to locally supply copies of common JS frameworks so I'm less likely to be tracked on that front. I'm sure it skews some log somewhere if I never request those libs.

Now I'm off to find an extension that serves local copies of common Google fonts.

Re: Redesigned Google Fonts website

#19

Earlier quoted context omitted.

Not if you download the zip and host it yourself - which you can do

> Not if you download the zip and host it yourself - which you can do 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 prope…

The tool parent and sibling comment listed allows you to do basic subsetting [1], and generates the formats you need. If you do this more often, it is of course useful to learn how to do this yourself. A commonly used tool is pyftsubset, part of fonttools [2]. I am not sure, but afair Google is running this under the hood.

[1]: https://fonts.google.com/knowledge/glossary/subsetting

[2]: https://github.com/fonttools/fonttools

Re: Redesigned Google Fonts website

#20
post #6

So how do I find fonts that have 0s with a dot in the middle? > 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

Not saying this applies to your situation, but I'm always slightly amused when I hear tech-oriented people say "this font would be perfect for me except for this ONE deal breaker" (often but not always the problem of insufficient differentiation of 0 and O). It's pretty trivial to modify fonts! Just download FontForge, open the font file, navigate to the code point in question, and simple operations like adding a dot or bar is usually pretty easy to figure out.

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.

Post reply on HN