سؤال

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