8 Jun
2011
8 Jun
'11
12:10 a.m.
I wrote:
Johannes wrote:
Can you please try attached patch? It seems to work ok with xft enabled and also allows to set e.g: font_sans_serif="helvetica" without xft. Font names in the non-xft case are still a bit odd (e.g. all lower case), but I don't think there's much we can do about that.
For non-xft, xlsfonts says that I have, for instance, "new century schoolbook", but Dillo doesn't list it.
I changed it to Fl::set_fonts ("-*-iso10646-1"); to follow the lead of if (!xstarname) { strcpy(buf,"-*-"); strcpy(buf+3,fl_encoding); xstarname = buf; } and now it can find new century schoolbook.