Live data from Hacker News

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

fonts.bunny.net

321–330 of 346 posts

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

#321
post #306

Earlier quoted context omitted.

domain registrant != site/host location Their web-site is located in the UK[0] Their fonts CDN is originating from AS60068 which is registered in UK too[1][2] [0] https://bgp.he.net/dns/bunny.net#_ipinfo [1] https://bgp.he.net/AS60068#_whois [2] https://bgp.he.net/dns/fonts.bunny.net#_ipinfo

Is privacy in the UK really going to be that much better over the coming years in comparison to the US? For company based in the EU I would've said so, for the UK I'm not too sure.

Up until now, theoretically they had the GDPR which is a strong privacy regulation. Enforcement of it has been significantly lacking though (but frankly, so is everywhere else) so in practice the effect of it was dubious.

Now since they are no longer in the EU they want to use this opportunity to deviate from the GDPR and relax the rules even more (not that they've been enforced to begin with). Ironically, the justification for relaxing the rules is that the GDPR didn't have the expected effects - well of course if won't have any effect if you don't enforce it.

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

#323

Earlier quoted context omitted.

I used to do this, but it broke a lot of websites, especially those that use custom fonts to display symbols. Nowadays, what I do (and recommend to others) is to set Firefox to never send a referer cross-origin, so google fonts and similar don't get to see what website I'm on. I've found that very few websites break with this.

Font icons is another one of these things that some web developers tend to do and should probably stop. SVG icons are superior in every way—at least all the ways I can think of.

Not advocating for font icons but one advantage is that their color can be styled form the page CSS - for SVG that only works if the SVG is embedded in the HTML, not if it is loaded externally or from data URLs.

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

#324
post #312

Earlier quoted context omitted.

Font icons is another one of these things that some web developers tend to do and should probably stop. SVG icons are superior in every way—at least all the ways I can think of.

A growing number of websites support dark mode theming, but not all of them. When I open a page in reader mode and switch to dark theme, I don't expect logos in the text to fade into the background. Svg is also often much larger than a font file, especially one that's subset. While it's not svg or on the open web, I have a particular hate for sborn.jpeg in ebooks, as I read my ebooks in dark mode at night and having…

> I don't expect logos in the text to fade into the background.

You can use @media (prefers-color-scheme: dark) { ... } in the style inside the .svg and browsers render it accordingly in dark/light mode. But yes, not being able to set the color from the page CSS is annoying.

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

#325

Earlier quoted context omitted.

Font icons is another one of these things that some web developers tend to do and should probably stop. SVG icons are superior in every way—at least all the ways I can think of.

Not advocating for font icons but one advantage is that their color can be styled form the page CSS - for SVG that only works if the SVG is embedded in the HTML, not if it is loaded externally or from data URLs.

You can use SVG sprites to overcome that limitation. My SVG icons are usually only:

    
Good SVG icons are a single which can be colored in your CSS with

    svg { fill: currentColor; }
Then it will take which ever font color it inherits.

Off course I usually wrap this in a component and only write .

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

#326
post #312

Earlier quoted context omitted.

Font icons is another one of these things that some web developers tend to do and should probably stop. SVG icons are superior in every way—at least all the ways I can think of.

A growing number of websites support dark mode theming, but not all of them. When I open a page in reader mode and switch to dark theme, I don't expect logos in the text to fade into the background. Svg is also often much larger than a font file, especially one that's subset. While it's not svg or on the open web, I have a particular hate for sborn.jpeg in ebooks, as I read my ebooks in dark mode at night and having…

I was manly talking about icons, but not logos. Icons usually only have one color—which is often the same color as the surrounding font color. If your icon is only a single (most good icons are) then you can color them with:

    svg { fill: currentColor; }
    .parent { color: var(--text-color); }
When you use dark-mode the color of the svg path should change with the text as long as the author changes --text-color in a dark-mode media query.

    @media (prefers-color-scheme: dark) {
        --text-color: wheat;
    }
I don’t know about the size, but I suspect that if any the difference is negligible. Most of my icons are a few hundred bytes uncompressed. And I usually put them in a sprite which is usually well under 50 KiB uncompressed. I don’t know how large font icon files are, but I suspect they are not that much smaller that it makes a difference.

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

#327
post #273

Earlier quoted context omitted.

"Organizations spend disproportionate time on trivial issues" - cn parkinson not sure how it's relevant here though

> not sure how it's relevant here though As I understood the answer, the expanded version would be "the only disadvantage is having to spend an unreasonable amount of time arguing about this issue, which will drag on forever since it is relatively minor."

Thank you.

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

#328
post #162

Earlier quoted context omitted.

And we can thank EU for the extremely annoying cookie pop-up’s on every website. Every site has a slightly different UI and the options/button labels always vary. Declining is always a multi-step process with various checkboxes. They are never geo-filtered either so everyone is forced to see them. I’m usually a big advocate for privacy and this was obviously done with good intentions but there were so many better way…

> And we can thank EU for the extremely annoying cookie pop-up’s on every website. I've never heard anybody who wasn't in or adjacent to the tech surveillance industry complain about this.

It probably had 0.01% effect on their profits so I don't see why they would be upset.

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

#329
post #312

Earlier quoted context omitted.

Font icons is another one of these things that some web developers tend to do and should probably stop. SVG icons are superior in every way—at least all the ways I can think of.

A growing number of websites support dark mode theming, but not all of them. When I open a page in reader mode and switch to dark theme, I don't expect logos in the text to fade into the background. Svg is also often much larger than a font file, especially one that's subset. While it's not svg or on the open web, I have a particular hate for sborn.jpeg in ebooks, as I read my ebooks in dark mode at night and having…

> Svg is also often much larger than a font file, especially one that's subset.

Subsetting is where SVG shines, though.

For icon fonts, you can much more easily subset SVG icons than a font file. Font file subsetting needs dedicated tools like font editors (with Icomoon being a common choice these days) and often manual maintenance/upkeep, whereas SVG tree shaking is a natural part of any web bundler (webpack, etc) and automatically adapts to your icon usage and tools in your web bundler such as bundle splitting/lazy loading.

The Fort Awesome JS libraries behind Font Awesome's SVG icon fonts reduce things further from SVG XML files to tree-shakeable ESM files [EcmaScript Modules] that include just a few pieces of metadata and the lone important path text (sticking to a single SVG path per icon), then build the SVG DOM at runtime (as VDOM in the case of the React library), including making sure it follows fill: currentColor to pick up the text color. Minified and tree-shaken by most web bundlers the ESM files are very competitive with any other font format and the convenience wins of automatic subsetting by web bundler are hard to match.

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

#330

Earlier quoted context omitted.

So, with this logic you would host your data in Russia (just to give a random country) ?

Why not? Make encrypted backups with `borg` and use `rclone` to distribute them to a number of free cloud storage services -- this is what I and many others do. One of my destinations is Yandex Disk. They all only see an encrypted Borg repo. And in the next few weeks or months I'll make sure they won't even be seeing that. Just a few opaque files several tens of megabytes big each. I wish them luck cracking it, lol.…

We are talking about saas, will you put your photos there? Or use yandex email?
Post reply on HN