Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4646 - mozilla xft not working yet
Summary: mozilla xft not working yet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-07 11:54 UTC by Frido Ferdinand
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frido Ferdinand 2002-07-07 11:54:58 UTC
Hi,

I've been using the blizzard xft rpms before i used gentoo. After reading the
ebuild file for mozilla i was under the impression that the ebuild had xft
functionality. However if I compare the rpms
ftp://ftp.mozilla.org/pub/mozilla/nightly/experimental/xft/Red_Hat_7x_RPMS/1.0/i386/
(emerge rpm, rpm -ivh --nodeps --force) with the ebuild, the ebuild doesn't do a
nice AA. Maybe the functionality could be integrated into future ebuilds ? (I
really find this a must have)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-08 14:44:22 UTC
Well, the big problem is that true Xft (not the freetype2 support we have),
needs CVS bits of XFree86 (notibly libXft-2.0 and fontconfig).  Unfortunately
libXft-2.0 with its new headers breaks Xft support in the current pango (thus
gtk+-2.0) and QT.

Ill see if there is an way to add them local to mozilla without breaking stuff.
If not ... the freetype2 Xft in mozilla is better than no Xft for Gnome2 or
KDE3 .. or that is at least my opinion :-)
Comment 2 Frido Ferdinand 2002-07-08 15:12:11 UTC
Are you sure about this, the rpms i pointed to are plug and play on a  standard
rh7.x system (also suse) without breaking anything. I'm also aware that there
are two types of Xft support the one from keithp (X, with the cvs things) and
the other from blizzard (RH, the rpms). Could you check this, because i'm trying
to write a small document about mozilla and AA fonts. What I have now is:

http://www.zolder.net/moz-aa/readme-moz-xft.txt
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-08 15:46:36 UTC
I can go and verify this again if you like, but last time I checked:

1) keithp was working on libXft-2.0, the new much improved Xft support
   for xfree86, as well as fontconfig (or maybe its just using fontconfig).

2) blizzard, a redhat developer made some patches for mozilla to make use of
   libXft-2.0.  he also did some patches that uses gtk+-2.0.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-08 15:50:08 UTC
Btw, can you check if that .rpm contains libXft-2.0 (libXft.so.2.0 if memory
serves) ?  Im thinking that they include it to bypass the need for a CVS version
of Xfree86.  Otherwise both redhat and suse is using a 4.2.99 snapshot of xfree.
Comment 5 Frido Ferdinand 2002-07-08 16:01:26 UTC
rpm -qlp *.rpm| grep -i xft
/usr/lib/mozilla-1.0.0/res/Xft/fonts.conf
/usr/lib/mozilla-1.0.0/res/Xft/fonts.dtd
/usr/include/mozilla-1.0.0/Xft/X11/Xft/Xft.h
/usr/include/mozilla-1.0.0/Xft/X11/Xft/XftCompat.h

but remember, i'm using these rpms on gentoo with the latest xfree, so def. no
snapshot involved there, maybe it's statically compiled. I'll grab the srpms and
see what's going on
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-08 16:44:32 UTC
Xft.h and XftCompat.h is from Xft-2.0, so I guess its a statically compiled
mozilla.
Comment 7 Frido Ferdinand 2002-07-09 11:46:06 UTC
Yup, oh well, hope X 4.3 will be out soon then :)
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 16:32:55 UTC
http://tko.ods.org/debian/

Will have a go later on.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 04:17:44 UTC
This is working nicely in mozilla-1.2_beta and mozilla-1.2
(without 'gtk2' in USE), so marking as fixed.