문제

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.

도움이 되었습니까?

해결책 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!

다른 팁

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" />
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top