#15052: pango: Font display problems when compiled against cairo 1.6.4 --------------------------------+------------------------------------------- Reporter: mike@it-loops.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by ryandesign@macports.org): Replying to [comment:13 macports@flyn.org]:
I received some feedback from upstream. We need to build cairo and pango to use the Quartz font backend instead of the freetype backend.
Why "instead of"? The fontconfig and ATSUI backends used to be mutually exclusive, but since cairo 1.4.x (I think) it's been possible to install them simultaneously, and since 1.6.x where the ATSUI backend is now called the Quartz font backend, they're even both enabled simultaneously by default.
Here is how I fixed this on my machine, which runs Mac OS X 10.4 and MacPorts 1.6:[[BR]] [[BR]] 1. Force this installation of cairo-quartz-font.pc. This file is created by cairo's configure script and should be placed in /opt/local/lib/pkgconfig/. The cairo port should be modified to install this file automatically for the no_x11 variant.[[BR]]
This is #15209.
2. Edit the cairo Portfile. For variant no_x11: DELETE: --enable- freetype. ADD: --disable-freetype, --enable-quartz, --enable-quartz-font, --enable-quartz-image and --enable-png[[BR]]
The global `configure.args` for this port already contain everything you list, except that they contain `--enable-freetype`, not `--disable- freetype`, because I want the freetype backend enabled, just like I want the Quartz backend enabled. -- Ticket URL: <http://trac.macports.org/ticket/15052#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS