
On 18 Nov 13:46, Stanislav Baiduzhyi wrote:
On Monday 17 November 2014 13:04:01 šumski wrote:
I don't have the Qt4 sources locally (so can't check when is that invoked), but QFontEngineFT::loadGlyph depends on FT_CONFIG_OPTION_SUBPIXEL_RENDERING during compile time. Maybe it is unused these days...
So, I made this patch, almost complete copy of another patch but applied for different source file:
https://drive.google.com/open?id=0B5Kp-cB1sXJrdDRyX2NZMEJzTUU&authuser=0
After some local testing, for me it works with both default freetype and subpixel-enabled freetype. I'd like to ask someone else to test it as well before asking libqt4 package maintainers to incorporate it.
Patch looks fine, can you branch libqt4 on OBS and apply your patch, so people can easily test the change?
Also, I can port the same change to Qt5 as well if anyone is interested.
That would be nice :-) Regards, ismail