rogerx wrote:
On Tue, Jun 15, 2010 at 06:17:11PM +0000, corvid wrote:
Dillo is set to use DejaVu fonts by default (set in dillorc file), but your backtrace showed that fltk is using Font_xlfd.cxx instead of Font_xft.cxx, indicating that your fltk was configured with --disable-xft. With xft disabled, it's not going to use TTF fonts.
For those that know this, it's a no brainer -- but obviously I don't as such easily assumed since I installed Dejavue, it would use those fonts. :-/
Dillo prints out a warning message if it can't load one of the fonts given in dillorc.
Did the debug info (error code) seem kind of brief to you?
The "bad font: variable" that fltk2 spits out? Yeah.
If you don't mind using antialiased fonts, you could reconfigure with xft enabled, and recompile, and everything may just magically work. If not, and you like bitstream, I'd alias 'fixed' to one of the bitstream terminal choices, and alias 'variable' perhaps to one of the bitstream charter ones. (And then I think you'd have to run mkfontdir afterward.)
Re-built fltk using "xft", and all seems quiet so far -- no signs of segfault.
Oh, good good good...
This definitely seems like fltk cannot be built without xft -- or if without xft -- user needs to have a variable font installed. Sounds like the package manager script is missing a depend check.
My guess is that "fixed" and "variable" may be standard enough that it's a misconfiguration not to have the aliases present and set to a font that you have, although, yeah, it's a bug in fltk2 not to handle that gracefully.
As far as having the extra eye-candy, I prefer only building/installing stuff that's needed versus installing a mess of eye candy I don't make much use of. Hence, the reason why I skipped building "without xft". ;-)
Well, it "should" :) 1) not crash 2) print a warning to the terminal if dillo can't use the fonts that it's set to use. In any case, I should update the comments in the fonts section of dillorc to reflect the current state of things. Most/all of the text in that section hasn't been touched since the dillo1 days.