[Interest] Using freetype/fontconfig on OS X?

Thiago Macieira thiago.macieira at intel.com
Sun Jan 25 00:50:38 CET 2015


On Sunday 25 January 2015 00:46:14 René J.V. Bertin wrote:
> Hello,
> 
> Is there a way to make Qt use freetype+fontconfig on OS X, instead of (I
> suppose) CoreText? The Qt 5.4 configure step actually seems to check for
> those libraries, but then doesn't appear to use them, while Qt 4 prints
> "no-freetype" in the configuration summary.
> 
> Rationale: I have the Infinality patches installed, and bohoomil's
> collection of fontconfig conf files, and the resulting quality exceeds that
> of OS X's own font rendering.
> 
> I also guess/hope that not using the CoreText API will address the issues
> I'm seeing with medium-weight fonts being "normalised" to either regular or
> (more often) bold weights.

I think you'll have to edit 
src/platformsupport/fontdatabases/fontdatabases.pri
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list