higuita wrote:
On Thu, 30 Jun 2011 19:31:49 +0000, "corvid" <corvid@lavabit.com> wrote:
but I do not seem to be able to view any Chinese websites - nothing but tiny squares.
seems that is using the wrong font (no chinese support)
font_sans_serif="wenquanyi zen hei" (...) font_sans_serif="?????"
I tested and with dillo fltk1.3 i can use
font_sans_serif="WenQuanYi Zen Hei"
and see the chinese sites fine... i do see this:
(..) Found font: WenQuanYi Zen Hei Found font: ???????? Found font: ?????? ????? Found font: ????????
so maybe its a distro thing? (slackware64 here)
What format do you see in fc-list? I get "WenQuanYi Zen Hei,?????,?????:style=Medium,??". In Fl::set_fonts() in fl_set_fonts_xft.cxx, it strips it down to "?????,?????:style=Medium", and then make_raw_name() has the comment // It is still possible that the "pretty" name has multiple comma separated entries // I've seen this often in CJK fonts, for example... Keep only the first one... This // is not ideal, the CJK fonts often have the name in utf8 in several languages. What // we ought to do is use fontconfig to query the available languages and pick one... But which? ..which I didn't bother to step through, but is consistent with what I get...