Live data from Hacker News

Bunny fonts – privacy respecting drop-in replacement for Google Fonts

fonts.bunny.net

21–30 of 346 posts

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#21
post #5

Why wouldn't I just self-host the fonts on my server? What are the benefits of such CDN? Years ago I could understand it because it may reduce latency (cache), but since browsers don't cache from 3rd party servers anymore, also this is argument is obsolet.

I would guess they have a server nearer your client than you do.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#22
The service doesn't seem to support IPv6 as there are no AAAA DNS records.

  $ dog A AAAA fonts.bunny.net
  CNAME fonts.bunny.net.      10s   "bunnyfonts.b-cdn.net."
    A bunnyfonts.b-cdn.net. 10s   195.181.164.130
  CNAME fonts.bunny.net.       9s   "bunnyfonts.b-cdn.net."
    A bunnyfonts.b-cdn.net.  9s + 195.181.164.130

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#23
post #5

Why wouldn't I just self-host the fonts on my server? What are the benefits of such CDN? Years ago I could understand it because it may reduce latency (cache), but since browsers don't cache from 3rd party servers anymore, also this is argument is obsolet.

I would guess they have a server nearer your client than you do.

Fonts would be served over the same HTTP/2 line as your main content though.

That's pretty much always faster than a new TLS handshake, regardless of roundtrip.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#24
post #3

All these hoops we have to jump though and products to create, juste because the USA decided that no other country matters, and pushed the CLOUD Act https://en.m.wikipedia.org/wiki/CLOUD_Act

It’s also good because Google almost certainly uses data from Fonts for selling ads. I’m much more concerned about that than the theoretical uses by the US Govt, though I’m not a fan of those either.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#25
post #5

Why wouldn't I just self-host the fonts on my server? What are the benefits of such CDN? Years ago I could understand it because it may reduce latency (cache), but since browsers don't cache from 3rd party servers anymore, also this is argument is obsolet.

Browsers don't use cross-site cache anymore (so if 2 sites are both using google fonts you don't get the speedup) but I think browsers still cache content from request to request for a domain.

Additionally, a CDN will let that content be closer to your customer, so even if it wasn't cached with the magic of CDNs it should be faster than one origin server.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#26

On the font pages, they use this as the example sentence: > The quick brown bunny jumps over the lazy dog. While the site is trying to be quirky and cute, replacing 'fox' with 'bunny' doesn't showcase what 'f' and 'x' look like.

you can replace the text with whatever you wish though so it's not an issue

It's an issue because you have to replace the text.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#27

Years ago I did sudo bash -c 'echo ":: fonts.googleapis.com" >> /etc/hosts' sudo bash -c 'echo "0.0.0.0 fonts.googleapis.com" >> /etc/hosts' and I haven't looked back.

I am often tempted to push this further to:

  sudo bash -c 'echo ":: google.com" >> /etc/hosts'
  sudo bash -c 'echo "0.0.0.0 google.com" >> /etc/hosts'

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#28
post #3

All these hoops we have to jump though and products to create, juste because the USA decided that no other country matters, and pushed the CLOUD Act https://en.m.wikipedia.org/wiki/CLOUD_Act

It’s also good because Google almost certainly uses data from Fonts for selling ads. I’m much more concerned about that than the theoretical uses by the US Govt, though I’m not a fan of those either.

https://developers.google.com/fonts/faq#:~:text=/google/font....

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#29

On the font pages, they use this as the example sentence: > The quick brown bunny jumps over the lazy dog. While the site is trying to be quirky and cute, replacing 'fox' with 'bunny' doesn't showcase what 'f' and 'x' look like.

Wrote a quick Python script to explore alternatives. The best I found with two words was: - The quick brown bunny jumps over the lazy podgy fox. If you want to do it with one word you can do: - The quick brown bunny jumps over the oversexualized dragonfly.

A touch of DRY and you get:

- The quick brown bunny jumps the oversexualized dragonfly.

Re: Bunny fonts – privacy respecting drop-in replacement for Google Fonts

#30

Earlier quoted context omitted.

It’s also good because Google almost certainly uses data from Fonts for selling ads. I’m much more concerned about that than the theoretical uses by the US Govt, though I’m not a fan of those either.

https://developers.google.com/fonts/faq#:~:text=/google/font... .

The Google Fonts API is designed to limit the collection, storage, and use of end-user data to only what is needed to serve fonts efficiently.

Use of Google Fonts API is unauthenticated. The Google Fonts API does not set or log cookies.

In other words, data from font serving does not feed into advertising personalization.

(Disclosure: I used to work on ads at Google)

Post reply on HN