Ask HN: Alternatives to Google Fonts?
1–7 of 7 posts
Re: Ask HN: Alternatives to Google Fonts?
#2Re: Ask HN: Alternatives to Google Fonts?
#3Just put the font files on the same server as your images and other page assets. Given how small font files are, there's little benefit to serving them from a CDN if the rest of your site isn't.
Re: Ask HN: Alternatives to Google Fonts?
#4Just put the font files on the same server as your images and other page assets. Given how small font files are, there's little benefit to serving them from a CDN if the rest of your site isn't.
When you are hosting on your own server, trim the font file to only serve the characters of the language you will using, which often translates to ascii characters. That greatly reduced font file size. If any character on your page falls outside that range, the default font of browser will kick in.
Re: Ask HN: Alternatives to Google Fonts?
#5Earlier quoted context omitted.
When you are hosting on your own server, trim the font file to only serve the characters of the language you will using, which often translates to ascii characters. That greatly reduced font file size. If any character on your page falls outside that range, the default font of browser will kick in.
That seems a bit much. Not great when you have to go through the process everytime you update your site. Or more likely, you will forget you implemented this & also how you did it in the first place..
And even so, that minification can be automated.
Re: Ask HN: Alternatives to Google Fonts?
#6Re: Ask HN: Alternatives to Google Fonts?
#7Asking because: As soon as you use a different CDN it might use some Google stuff under the hood.