Privacy plugin being sponsors-only is a bit problematic WRT Google Fonts usage #5679
Replies: 1 comment 3 replies
-
Great question, thanks for asking! From version 1.x, Material for MkDocs makes it actually quite easy to disable Google Fonts: theme:
font: false This will completely remove Google Fonts, thus not send any data to Google at all. Material for MkDocs will fall back to system fonts. If you want to use a custom font, you can do so very easily, as our documentation describes. This topic has been discussed extensively in the past, and bundling all fonts with the theme is just not an option, as it will slow down every build. This is the very raison d'être of the privacy plugin – your users' browser will make no requests to Google Fonts, as they are downloaded for self-hosting during build time. The privacy plugin is the simplest and hassle-free solution I could come up with, retaining the flexibility to use all available Google Fonts, while also completely respecting the users' privacy. In fact, the privacy plugin was developed as a response to users raising concerns about Google Fonts, and it took us significant time to get it right. However, and I can't stress it enough: self-hosting or disabling are always an option. If you're tight on time and want a solution that just works, the privacy plugin might be a good choice. Additionally, I haven't checked, but there may be third party MkDocs plugins achieving the same thing. Additional recommended reads:
Nobody forces you to use Google Fonts. Since Material for MkDocs is based on Material Design, using Roboto as a default is obviously the most natural choice. However, as said, disabling Google Fonts is 1 line of configuration in
It's another external service that you don't control. IMHO, downloading and automatic self-hosting is the canonical solution here, because it means that regardless of which font service or CDN you choose, you can be sure that you'll serve assets from your own servers. The privacy plugin will be released once the $14k funding goal is hit, which we expect to be the case by the end of this year. Then, it will be available to all users. Please understand that releasing it earlier will counteract our Sponsorware strategy, and reduce the time of us maintainers to work on this project. Open Source is hard. Making Open Source sustainable is even harder. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As useful as Google Fonts it, it's a privacy nightmare. From what I understood the only way to get those fonts included locally in the build is using the privacy plugin - but you have to pay for that one.
Is it really a good idea to force people to pay or feed data to Google? I completely understand that you want to encourage people to sponsor the project, and I think if you are a commercial company using it, then doing so is the right thing to do anyway. But not giving Google more data than they already have seems like the kind of honorable thing that should be available to everyone...
I found this suggestion which might be better than using Google Fonts, but of course having the fonts embedded in the build is still the best option, also to avoid an extra dependency on an external host...
Beta Was this translation helpful? Give feedback.
All reactions