How can I only use Latin subset with Google Fonts WOFF2 files?

The trick lies with this optimization: unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; With this, the browser knows whether it needs to download the font, depending on the characters it just loaded in the html. Chrome is currently the only one with full support for this. MDN lists Firefox 36+ as completely ignoring this spec, therefore Google … Read more

How to download multiple formats of a web font from the (official) Google Web Fonts repo?

======= UPDATED 2016-05-31 ======= I made a tiny PHP script to get download links from a Google Fonts CSS import URL like: https://fonts.googleapis.com/css?family=Roboto:400,700|Slabo+27px|Lato:400,300italic,900italic You can use this tool here: http://nikoskip.me/gfonts.php For instance, if you use the above import URL, you will get this: I got tired about updating this answer on each new release of … Read more

How to use web-fonts legally? [closed]

Be careful with “free” fonts on the web. Many are just copies of protected fonts with their copyright notices removed. If you want to make sure, buy a font from one of the large foundries like fonts.com or myfonts.com. Make sure you read their license. For example, if you buy a font, you are almost … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)