Re: xterm tt font vs terminal app display
Re: xterm tt font vs terminal app display
- Subject: Re: xterm tt font vs terminal app display
- From: René J.V. Bertin <email@hidden>
- Date: Tue, 07 Oct 2014 21:24:52 +0200
On Monday October 06 2014 15:48:52 Brandon Allbery wrote:
> You need to tweak the DPI settings, probably. There's a plist entry for it,
> but you may prefer to find something that can adjust it on the fly and then
> read out that value to set in the plist.
Tweaking the X11 DPI setting isn't very difficult: in a script file:
echo " \
Xft.antialias: 1 \
Xft.autohint: 0 \
Xft.dpi: 72 \
Xft.hinting: 1 \
Xft.hintstyle: hintfull \
Xft.lcdfilter: lcddefault \
Xft.rgba: rgb" | xrdb -merge
This is based on my own observation that X11 renders fonts too large, which concurs with the OP's observation. OS X assumes 96DPI (at least on non-Retina screens...), as most windowing systems. X11 will use that value too by default, but it needs to be told that it's rendering to a 72 DPI screen, and then there's a good match.
> As for font rendering, the standard X11 Freetype support isn't very good.
> There is a set of patches (Infinality) that improves it considerably;
> getting it hooked into the Mac ecosystem may be difficult, though.
Really now Brandon ...
<https://trac.macports.org/ticket/44148>
That's been announced on the MacPorts ML, as well as on this very ML.
And normally these patches should make it into XQuartz, if Jeremy gets around to it (and hasn't changed his mind).
With these patches, font rendering under X11 actually looks better & sharper than under OS X (though bold fonts can be a bit overweight, possibly because I haven't understood how to package all the configuration files as it should).
R.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden