Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 14:47:38 +0800
From:      =?GB2312?B?wuOxvLXEzs/Fow==?= <sipingal@gmail.com>
To:        gecko@FreeBSD.org
Subject:   Is possible to add the "configure --enable_system_cairo" as option for the firefox
Message-ID:  <AANLkTimnBCez-WsSvmA4ev1k8rGz_1CLWN%2B-cXERqJhQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Gecko,

I'm using follow patch to improve my system font display.

http://bugs.gentoo.org/attachment.cgi?id=241939&action=diff&context=patch&collapsed=&headers=1&format=raw

e.g
1. save the patch as /tmp/cairo-1.10-cleartype.patch

2. reinstall freetype2
# cd /usr/ports/print/freetype2 && make WITH_LCD_FILTERING=yes && make
deinstall reinstall clean

3. reinstall cairo
# cd /usr/ports/graphics/cairo && make extract && cd work/cairo* && patch
-Np1 < /tmp/cairo-1.10-cleartype.patch && cd ../.. && make && make deinstall
reinstall clean

After that, everythings looks great except the firefox display. I tried to
compare the build options(firefox url "about:buildconfig") with my gentoo
box. It looks like the --enable-system-cairo option made the difference. So
I modify the firefox Makefile and add the option "--enable-system-cairo". I
finally got what I want. But I would like to have an option to choice the
behavior, using system cairo, not hack the Makefile.

Is possible to add the option for the firefox? Thank you in advance.

Best regards,
Sipingal Liu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimnBCez-WsSvmA4ev1k8rGz_1CLWN%2B-cXERqJhQ>