Re: css charset broken

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Tue, Mar 25, 2014 at 09:36:39AM +0400, Georgiewskiy Yuriy wrote:
> 
> Hi all, seems there is a bug in css parsing in latest dillo 3.0.3 and latest HG too:
> 
> If i have load_stylesheets and/or (site depends) parse_embedded_css
> eq YES in dillorc a number of russian sites with css renders with
> broken encoding, for example www.yandex.ru,
> www.rambler.ru, if i disable css all renders fine with proper russian encoding.

I guess CSS is switching the font to something that doesn't support
Cyrillic. E.g. on yandex.ru I see:
	body{font:.8em Arial,Helvetica,sans-serif;}
So if you don't have Arial installed, it will switch to Helvetica
and that - at least here - doesn't cover Cyrillic.
You can test this with attached HTML. You could try to get Arial
installed. In the long run Dillo or fltk should implement some
fallback mechanism if glyphs are missing in the selected font.

Cheers,
Johannes

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
ru.html (text/html, 77 B)
<div style="font:'Arial,Helvetica'">Фотоархив на Диске</div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.