Uhh ok, apparently this osenv var is just idiotic?

See https://www.pikers.dev/pikers/piker/issues/50#issuecomment-1041 for
deatz.
dpi_font_autocalc_fomo_bits
Tyler Goodlet 2025-12-19 19:11:11 -05:00
parent 6ee0d86548
commit ee353099e8
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ from pyqtgraph import QtGui
# https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
os.environ['QT_USE_PHYSICAL_DPI'] = '1'
os.environ['QT_USE_PHYSICAL_DPI'] = '0'
# TODO? i don't get how this is useful, when i set it it seems
# the physical-dpi get's computed incorrectly??
# Proper high DPI scaling is available in Qt >= 5.6.0. This attibute
# must be set before creating the application