[Interest] Qt5 font size issue with fontconfig
rama.kesi at gmail.com
Sat Nov 21 15:05:13 CET 2020
Couple of questions..May I know why we don't see the large font issue in
ubuntu though Qt5 is configured with -qt-xcb and fontconfig as the point
sizes that work for ubuntu are not applicable for target?
Does it makes sense to check the below suggested env variables only on
target with large lcd size 10" instead of ubuntu as the fonts used are
different in X11 and the graphics rendering being different namely linuxFB?
On Sun, 15 Nov, 2020, 12:41 Ramakanth Kesireddy, <rama.kesi at gmail.com>
> Thanks a lot for your mail. It helps.
> Essentially moved
> https://doc.qt.io/qt-5/stylesheet-reference.html#font-prop from pixels to
> points and fixed the hardcoded layouts.
> Adjusting the QT_AUTO_SCREEN_SCALE_FACTOR and QT_FONT_DPI to scale
> On Wed, Nov 11, 2020 at 11:51 PM Thiago Macieira <
> thiago.macieira at intel.com> wrote:
>> On Wednesday, 11 November 2020 09:24:14 PST Ramakanth Kesireddy wrote:
>> > Inorder to adjust across all the screens, do I need to set export
>> > QT_AUTO_SCREEN_SCALE_FACTOR=1?
>> Yes. Or set the QT_SCREEN_SCALE_FACTORS variable. Or both, or set the
>> AUTO one
>> to 0. They interact in weird and sometimes counter-intuitive ways.
>> On my laptop, I have:
>> And X was is started with the command-line option "-dpi 216".
>> Thiago Macieira - thiago.macieira (AT) intel.com
>> Software Architect - Intel DPG Cloud Engineering
>> Interest mailing list
>> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest