Re: Epiphany/Mozilla and freetype
- From: Jan de Groot <jan jgc homeip net>
- To: epiphany-list gnome org
- Subject: Re: Epiphany/Mozilla and freetype
- Date: Fri, 30 Apr 2004 19:51:53 +0200
On Fri, 2004-04-30 at 18:15 +0530, ganesh wrote:
> I am trying to get Epiphany 1.2.4 working on Mozilla 1.7RC1. While doing this
> I am see a problem same as http://bugzilla.mozilla.org/
> show_bug.cgi?id=234035 . It looks like GTK 2.4 requires Freetype 2.1.8. The
> same problem is seen with Mozilla 1.6 aswell.
> Any comments?
> Ganesh.
Freetype 2.1.8 is shit at this moment. In the archlinux distro they
reverted from 2.1.8 back to 2.1.7 because fonts didn't look good or
applications compiled with 2.1.7 crashed.
It is best to keep with 2.1.7 and compile pango and mozilla against that
version. In the PKGBUILD file for mozilla, I found this "patch":
# begin patching freetype2-dev stuff
find . -type f -exec grep -l '#include <pango/pango.h>' {} \; | xargs
sed -i 's|#include <pango/pango.h>|#include <ft2build.h>\n#include
FT_FREETYPE_H\n#include <pango/pango.h>|' || return 1
find . -type f -exec grep -l '#include <X11/Xft/Xft.h>' {} \; | xargs
sed -i 's|#include <X11/Xft/Xft.h>|#include <ft2build.h>\n#include
FT_FREETYPE_H\n#include <X11/Xft/Xft.h>|' || return 1
find . -type f -exec grep -l '#include "nsFontMetricsXft.h"' {} \; |
xargs sed -i 's|#include "nsFontMetricsXft.h"|#include
<ft2build.h>\n#include FT_FREETYPE_H\n#include "nsFontMetricsXft.h"|' ||
return 1
# end patching freetype2-dev stuff
every "find" comes on its own line, if your (and my) mailer inserts
linebreaks, paste them on one line.
Epiphany has no problems with freetype 2.1.x
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]