firefox: Xft + FreeType2, is it possible?

Joe Marcus Clarke marcus at marcuscom.com
Sun Oct 16 21:44:17 PDT 2005


On Mon, 2005-10-17 at 08:40 +0400, Andrey Chernov wrote:
> 1) When firefox is builded with Xft, font are smoothed, but no TTF 
> fonts available (I use M$ core fonts), so pages rendered very ugly. 
> Setting
> user_pref("font.FreeType2.enable", true);
> does nothing.
> 
> 2) When firefox is builded without Xft, font are jagged sometimes, but TTF 
> fonts available, so pages rendered nice. Setting
> user_pref("font.FreeType2.enable", true);
> cause segmentation fault after last TTF font loaded, but it is not needed,
> TTF fonts available even without this setting.
> 
> Is it possible to have both works, i.e. smoothed fonts _and_ TTF?

Absolutely.  Just build with XFT support, and make sure your TTF fonts
have been cached by fontconfig (i.e. make sure your font directory is
listed /usr/X11R6/etc/fonts/fonts.conf, and you've recently run fc-cache
-f -v).

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051017/9aff1dc8/attachment.bin


More information about the freebsd-ports mailing list