Question

I have to render slavic letters (đ, č, ć, ...) with google-font, but what I get is always degraded rendering using alternative font, so the words are really ugly...

How could I encode these letters to have proper rendering? I have tried a few entities without success.

Was it helpful?

Solution 2

Ok, got it: the letters not rendered were not defined in the font... That's kind of misleading when almost all expected letters are defined, but others are missing!

OTHER TIPS

Not sure if still relevant, but you need to add &subset=all to the URL with which you load the font. For example:

<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic&subset=all" 
       rel="stylesheet" type="text/css" />
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top