[Interest] Qt5 font size issue with fontconfig

Thiago Macieira thiago.macieira at intel.com
Sat Nov 21 18:45:59 CET 2020


On Saturday, 21 November 2020 06:05:13 PST Ramakanth Kesireddy wrote:
> Hello Thiago,
> 
> 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?

I have no clue. Try reconfiguring your build so it says "yes (system)" for 
almost everything, and especially anything related to fonts (fontconfig and 
freetype)

Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ yes
  Fontconfig ............................. yes

Second, what is the font DPI configured to in both cases? Please provide the 
xrandr output and the qtdiag section related to screens.

> 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?

I am talking only about X11. I have no clue about LinuxFB.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Interest mailing list