[Development] [HiDPI] Rethinking the scaling algorithm

Thiago Macieira thiago.macieira at intel.com
Wed Nov 9 23:53:19 CET 2016


On quarta-feira, 9 de novembro de 2016 19:40:14 CST Niccolò Belli wrote:
> > We have plenty of environment variables already. I personally set
> > QT_SCREEN_SCALE_FACTORS to 2 on my 13" 3200x1800 display (font DPI is
> > 216).

> AFAIK QT_SCREEN_SCALE_FACTORS doesn't scale fonts, so you will still have
> to rely on QT_SCALE_FACTOR, which forces you to change the variable every
> time that you switch to another monitor.

Note what I said above: "font DPI is 216". That's a global X setting, not a Qt 
one.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list