On Tue, 2006-09-19 at 02:45 +0200, Frans Pop wrote: > So, our config was wrong. It should be: > gtk-font-name="DejaVu Sans 9" > And indeed, after changing the config to that, the display is pretty > again :-)
Ok, that makes sense. > However, it seems that the more extensive /etc/fonts/fonts.conf previously > shipped with fontconfig somehow did the right thing even with the old > config. The new config shouldn't actually work any differently; all of the pieces which were removed from the fonts.conf file have been put into separate files in /etc/fonts/conf.d so the sans-serif alias should mostly be the same. However, if there is no font of the provided family, fontconfig will attempt to locate a font for the current locale, and this appears to be what is happening. I get the default sans-serif face when I ask for DejaVu, but my locale is en_US.utf-8. So, you might try a few more experiments to see where the trouble lies. $ LC_ALL=en_US fc-match dejavu $ LC_ALL=ja fc-match dejavu These should both pick fonts suitable for the specified locale. Another thing to try is to turn on some fontconfig debugging and see what that tells us: $ FC_DEBUG=1 fc-match dejavu That'll show the precise pattern fontconfig is attempting to match. -- [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part