[MacPorts] #15052: pango: Font display problems when compiled against cairo 1.6.4

MacPorts noreply at macports.org
Thu Jun 5 19:20:04 PDT 2008


#15052: pango: Font display problems when compiled against cairo 1.6.4
--------------------------------+-------------------------------------------
  Reporter:  mike at it-loops.com  |       Owner:  ryandesign at macports.org
      Type:  defect             |      Status:  new                    
  Priority:  Normal             |   Milestone:  Port Bugs              
 Component:  ports              |     Version:                         
Resolution:                     |    Keywords:                         
--------------------------------+-------------------------------------------
Comment (by macports at 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. 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]]
 [[BR]]
 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]]
 [[BR]]
 3. Execute "sudo port install cairo +no_x11 pango +no_x11 gnumeric"[[BR]]
 [[BR]]
 Note that gnumeric's cell labels still have garbled fonts. I suspect that
 this is due to goffice linking against
 /opt/local/lib/libpangoft2-1.0.0.dylib.

-- 
Ticket URL: <http://trac.macports.org/ticket/15052#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list