View Single Post
Old 12-05-2008, 03:47 AM   #86
ericshliao
Guru
ericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enoughericshliao will become famous soon enough
 
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
Quote:
Originally Posted by Antartica View Post
About the dillo2 port: the fixed font is installed (the X server won't start without it), so that error is strange.
Thanx for your detailed reply. I will try your patch files.

As to the fixed width font problem, I executed dillo2 in mrxvt, and it printed "bad font: variable" and stopped.
So I found the following code in fltk2's "Font_xlfd.cxx"

Code:
FontSize::FontSize(const char* name, const char* nname) {
  this->name = nname ? nname : name;
  font = XLoadQueryFont(xdisplay, name);
  if (!font) {
    warning("bad font: %s", name);
    font = XLoadQueryFont(xdisplay, "fixed"); // if fixed fails we crash
  }
  encoding = 0;
  opengl_id = 0;
}
You can see it said that "if fixed fails we crash".
ericshliao is offline   Reply With Quote