Den tors 26 aug. 2021 kl 13:39 skrev Jean-Michaël Celerier < jeanmichael.celer...@gmail.com>:
> Hi, > > for consistency, I am shipping my app with freetype on all platforms. > This looks "correct", definitely better than using macOS or Win32's font > rendering, but ! Qt's built-in freetype does not look as good than my Linux > system's finely-tuned freetype configuration which prompted some > investigation. > > It's very visible for instance in the menu bar: > * Top one is my system freetype, notice how the fonts are crispy and > beautiful. > * Below one is using Qt's -qt-freetype: notice how the straight lines, > like for the "t" in settings or the vertical bars in H are blurry. > [image: here.png] > > If you zoom you'll notice that the one below is missing sub-pixel AA: > > [image: here-small.png] > Thus my question: is there a way (even if that implies rebuilding Qt) to > pass configuration options to freetype ? Surely that must be possible as > it's able to do the correct thing with my distro (arch btw)'s Qt / freetype > / fontconfig combo. > Maybe set FONTCONFIG_FILE envvar to point to a custom config file that you ship, or FONTCONFIG_PATH to point to a conf.d directory with a custom config snippet. Elvis > Kind regards, > Jean-Michaël > > > ------------------------------ > Jean-Michaël Celerier > *cto* ossia.io | *consulting inquiries* celtera.dev | *personal* > jcelerier.name > t: +336 81 31 53 08 > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest