[Interest] Font rendering depending on the QPA plugin?

2016-10-07 Thread Michał 'Khorne' Lowas-Rzechonek
8 8x8) W= QRect(0,-8 8x8) What I would like to get is consistent 5x8 pixel glyphs. I have 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.

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

2016-10-07 Thread Michał 'Khorne' Lowas-Rzechonek
using system-wide Qt (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 --

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

2016-10-13 Thread Michał 'Khorne' Lowas-Rzechonek
ed most of the implementation (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 -- M