Changes

Jump to: navigation, search

Replacement Fonts

97 bytes removed, 10:37, 8 March 2019
fixed the format
<span class="problem">Fonts are an important part of the style of a website. Google has cynically made it incredibly easy to utilise any of a huge number of fonts on websites, but it comes with a price: what they get in exchange for this, is the ability to track your visitors. It is therefore important to the privacy of your visitors to ensure that you do not use Google fonts in your website. There are two ways to avoid this. If using specific fonts is a priority, the best way to do this is to simply host the fonts on your own server, so that no third-parties receive data about your visitors through your fonts. Since this solution requires some level of comfort in handling your website’s files, if you are comfortable with having some users fall back on default web fonts, then you can simply “font stack,” and rely on the user’s own system fonts to do the job.</span>
== Removing Google Fonts Replacements ==<h3 class="title entry removal-1">Self-hosting fonts</h3>
<span class="intro">
 
To remove Google Fonts from your website and self-host instead, you will need to upload the fonts you want to use to your server. Some services for selecting and downloading or purchasing fonts are listed below. You will then enter the CSS and HTML files of your pages and search for all references to font-face or font-family and remove them. You will then replace these references with a direct link to your self-hosted font.
Even though you have uploaded your favorite fonts to your server, if you do not want to automatically default to the system default fonts should your font fail, you can do further font-stacking with common fonts. Simply call on the fonts in your order of preference as explained below, keeping your self-hosted font as the first font in the stack.
<h3 class="title entry removal-2"h4>Alternative: using Web safe fonts</h3h4>
If specifying fonts is not a high priority for you, an easier solution is to font-stack with “web safe” fonts. These are common fonts that you list in order of preference, typically in a list ending either in “serif” or “sans-serif” as a back-up, as seen above. For instance, if you want your user to see the Georgia font, but are comfortable with any serif font displaying, then in your CSS and HTML files, you can simply remove all references to the Google fonts as above, and state something like this wherever a font is called (search for any reference to “font-family”):
If the user’s system contains the Georgia font, that should display, if not, it will fall back on Times New Roman, or finally on the system-default serif font. List your favorite web-safe serif or san-serif fonts according to similarity and preference. W3 has a useful article[https://www.w3schools.com/cssref/css_websafe_fonts.asp] listing and displaying web safe fonts for you to choose from.
That's it! You've liberated your website and visitors from a Google tracker!</span> == Replacements ==
<h3 class="title entry solution-1">Fontello</h3>
37
edits

Navigation menu