I am using Ubuntu 14.04, and I got problems with the fonts after installing Kubuntu desktop. For example
<html>
<body>
<p style="font-family: Sans-Serif;">
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
</p>
<p style="font-family: 'DejaVu Sans';">
 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
</p>
</body>
</html>
gives the following screenshot in Chromium browser:
whereas in Firefox, I get:
It seems like Chromium browser chooses some other font than DejaVu Sans
as the default Sans-Serif
font. I wonder why, and how to make it choose DejaVu Sans
instead.
Also:
$ fc-match sans-serif
gives:
DejaVuSans.ttf: "DejaVu Sans" "Book"
sans-serif
gives 216 glyphs rendered in Arial and 7 glyphs rendered in DejaVu Sans. – saiarcot895 Aug 10 '14 at 16:00Settings->Web Content->Customize fonts..
all fonts was set toAbyssinica SIL
.. – Håkon Hægland Aug 10 '14 at 16:04