Re: [Interest] Font rendering depending on the QPA plugin?

2016-10-07 Thread Michał 'Khorne' Lowas-Rzechonek
t (built by Gentoo) with fontconfig enabled. My plugin is included in the same source tree (src/plugins/platforms/my_qpa), so it uses the same settings as the rest of Qt. In the end, flipping the '-(no)-fontconfig' doesn't seem to have any effect at all. cheers -- Michał 'Khorne' Lowas-Rzechonek S

[Interest] Font rendering depending on the QPA plugin?

2016-10-07 Thread Michał 'Khorne' Lowas-Rzechonek
e my own QPA (it's an embedded device) so I am able to manipulate values reported by QPlatformScreen. I've noticed that the DPI has *some* impact on font metrics, but I can't put my finger on it. regards -- Michał 'Khorne' Lowas-Rzechonek Social Bicycles Inc.

Re: [Interest] Font rendering depending on the QPA plugin?

2016-10-13 Thread Michał 'Khorne' Lowas-Rzechonek
tion (namely window composition) from linuxfb QPA plugin and replaced drawing functions - instead of mmap()ping framebuffer device, I simply paint to a QImage in memory. Surprisingly, this helped with font rendering... Yet another piece of know-how, I guess! cheers -- Michał 'Khorne' Lowas-Rzec