[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mozilla 1.4 won't display TT fonts (mozilla-xft installed)



Hi!

I've got a woody system; yesterday I decided to compile gtk2.0 v2.2
etc. and mozilla from unstable. Mozilla is now running fine but it
won't display truetype fonts (I also cannot select them in the
preferences dialog), although I've installed xfstt and have the
following lines in /usr/lib/mozilla/defaults/pref/unix.js

// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", false);
pref("font.FreeType2.unhinted", true);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min",        10);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
// sample prefs for TrueType font dirs
pref("font.directory.truetype.1",
"/usr/X11R6/lib/X11/fonts/TrueType");
pref("font.FreeType2.printing", true);

<snip>

/* reject font if accept pattern does not match it... */
pref("print.xprint.font.acceptfontpattern", ".*");
/* reject font if reject pattern matches it...
 * Current bans:
 * - bug 148470 ("Ban "-dt-*" (bitmap!!) fonts from Xprint")
 *  
pattern="fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;x
dpy=.*;ydpy=.*;xdevice=.*"
 */
pref("print.xprint.font.rejectfontpattern",
    
"fname=-dt-.*;scalable=.*;outline_scaled=false;xdisplay=.*;xdpy=.*;y
dpy=.*;xdevice=.*");


the following lines in /etc/mozilla/prefs.js:

// TryeType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
pref("font.FreeType2.autohinted", false);
pref("font.FreeType2.unhinted", true);
pref("font.antialias.min",        10);
pref("font.directory.truetype.1",
"/usr/X11R6/lib/X11/fonts/TrueType");

and the following lines in /etc/mozilla/mozillarc:

MOZILLA_DSP=none
USE_GDKXFT=true


There is no ~/.mozillarc, so I've got no clue why mozilla doesn't do
what I want... Can anyone please give me a hint?


TIA,

Stephan Hachinger



Reply to: