From owner-freebsd-gecko@FreeBSD.ORG Tue Jan 11 07:16:46 2011 Return-Path: Delivered-To: gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 475AE106566B for ; Tue, 11 Jan 2011 07:16:46 +0000 (UTC) (envelope-from sipingal@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D18378FC12 for ; Tue, 11 Jan 2011 07:16:45 +0000 (UTC) Received: by fxm16 with SMTP id 16so19669486fxm.13 for ; Mon, 10 Jan 2011 23:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=6hr1yAd/ygx7ZhQJMwtchtVYlkRxAIJruuIiYxiRsiw=; b=XRElcaSGcwQUbwSFRrrWAfb0k2NvJj+Q8aO8WgqdMFO5r8YUrLT+M/UaiS/5NcOOVK 2gXHRlivD3b0fJPUNhas3TMreoA0Is+4vMqxKpLgChoSIrcVrIF1lV2p9RXyjaASagZr Ypw0Zmf36UkcWguBdsfVn+dWVVT19mB61CPzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iK5RA+H1dfkBLnNQZ5p7K1o1Zpx+wV1R364JOEGhNafKRnQxn3+JVGhPWiYO5xMulC g/+gWMlN5PCJZ35Gr1B4qrTaXJZsyMuBEstFO1diwiPMf/Ws5r0XHqT8RSoTMncnsAvg Lqw5tjJ0RTF4PxdjSSYbwOUJ+CBARUJo7i2M8= MIME-Version: 1.0 Received: by 10.223.81.70 with SMTP id w6mr3882096fak.62.1294728458182; Mon, 10 Jan 2011 22:47:38 -0800 (PST) Received: by 10.223.102.136 with HTTP; Mon, 10 Jan 2011 22:47:38 -0800 (PST) Date: Tue, 11 Jan 2011 14:47:38 +0800 Message-ID: From: =?GB2312?B?wuOxvLXEzs/Fow==?= To: gecko@FreeBSD.org X-Mailman-Approved-At: Tue, 11 Jan 2011 12:33:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Is possible to add the "configure --enable_system_cairo" as option for the firefox X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 07:16:46 -0000 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