[MacPorts] #31580: MacPorts xfd renders fonts differently (and worse) from OSX xfd
MacPorts
noreply at macports.org
Thu Oct 13 06:53:14 PDT 2011
#31580: MacPorts xfd renders fonts differently (and worse) from OSX xfd
----------------------------------------+-----------------------------------
Reporter: david.osguthorpe@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: font render x11 | Port: xfd
----------------------------------------+-----------------------------------
Comment(by suv-sf@…):
Not sure if related at all - but what about enabling autohinting for
fontconfig/freetype?
AFAICT the default installation of fontconfig in MacPorts does not copy
{{{
$PREFIX/etc/fonts/conf.avail/10-autohint.conf
}}}
into
{{{
$PREFIX/etc/fonts/conf.d
}}}
nor enable autohinting elsewhere (I saw the same issue with GTK+ GUI fonts
- which render rather poorly after MacPorts upgraded to freetype 2.4.x
(compared to MacPorts' freetype 2.3.x) - until I created ~/.fonts.conf and
enabled autohinting there (see below)).
Enabling autohinting in ~/.fonts.conf:
{{{
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/31580#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list