Using MacPorts to Make OS X Fonts Render Like Linux

Brandon Allbery allbery at
Sun May 30 21:38:57 PDT 2010

On May 31, 2010, at 00:29 , Joshua Root wrote:
> Maybe you should ask whoever you heard this from. If you can't  
> specify a
> particular technical difference, I doubt anybody can point you to the
> right setting even if it exists.

I suspect he means this (from my .fonts.conf):

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
   <!-- this has legal ramifications; check first -->
   <match target="font" >
     <edit mode="assign" name="hinting" >
   <match target="font" >
     <edit mode="assign" name="hintstyle" >
   <match target="font">
     <edit name="rgba" mode="assign">
   <match target="font" >
     <edit mode="assign" name="antialias" >

The uncommented entries are the most significant, as they enable  
antialiased fonts instead of bitmaps.  Linux distributions usually  
enable these by default, but last time I looked in /opt/local/etc/ 
fonts.conf it was disabled.  (The port has been upgraded since then,  
so newer installations may have a different default.)

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at
system administrator [openafs,heimdal,too many hats] allbery at
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the macports-users mailing list