[Xquartz-dev] Xquartz-dev Digest, Vol 72, Issue 2

"René J.V. Bertin" rjvbertin at gmail.com
Wed Jun 25 13:15:39 PDT 2014


On Jun 25, 2014, at 21:00, xquartz-dev-request at lists.macosforge.org wrote:

> 
> We just have --without-png.  If there's an --enable-better that Linux distros are using, please let me know ;)

I saw that MacPorts freetype is built --without-harfbuzz too.
> 
>> and using the same runtime configuration?
> 
> Obviously not the last one.  Linux and darwin have different runtimes, but freetype shouldn't be caring about those differences.  darwin Libc should behave similarly to glibc.

I wasn't referring to that runtime, but to the functionality provided through fontconfig. As you probably saw in bohoomil's mail,a substantial part of the infinality patches has already been included in "stock" freetype, but rendering is also under control of a number of parameters. I've never looked at those on OS X, but I do know that I didn't have a ~/.fonts.conf -> ~/.config/fontconfig/fonts.conf (and when I copied one over from Linux, it seemed to be ignored).

> 
> Yeah.  I'm not really a fonts guy.  If someone points out "hey, enable this option in freetype as it makes it better", I'll do it (or at least try it out in a beta).

OK then, here's the stuff you could play with:
bohoomil's "ultimate" freetype patches are here, as well as the script used for building on Arch:
https://github.com/bohoomil/fontconfig-ultimate/tree/pkgbuild/01_freetype2-iu

"fontconfig-ultimate" patches and per-font rendering databases as well as the sh/bash shell profile (infinality-settings.sh):
https://github.com/bohoomil/fontconfig-ultimate/tree/master
the build scripts for "fontconfig-ultimate":
https://github.com/bohoomil/fontconfig-ultimate/tree/pkgbuild/02_fontconfig-iu

Or, you could wait a couple of days until I upload modified freetype, fontconfig (and cairo) ports to MacPorts trac that'll allow to install +infinality variants of those ports and see for yourself if the result is worth the effort of including the above.

René



More information about the Xquartz-dev mailing list