hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en/latest/
MIT License
13.31k stars 691 forks source link

High resolution blur under Windows #2247

Open ye-xue opened 10 months ago

ye-xue commented 10 months ago

Version of Dear PyGui

Version: 1.10.1 Operating System: Windows 10

My Issue/Question

High resolution blur under Windows, What should I do to avoid this problem?

Expected behavior

Maintain clarity when using the high-resolution screen and adjusting the zoom on Windows

Screenshots/Video

image

Standalone, minimal, complete and verifiable example

# Here's some code anyone can copy and paste to reproduce your issue
import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()

with dpg.window(label="tutorial"):
    dpg.add_button(label="Press me")

dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
my1e5 commented 10 months ago

See https://github.com/hoffstadt/DearPyGui/issues/1380

iNovenkij commented 8 months ago

See #1380

This solution doesn't work for the case when the interface scaling is set above 100% in the Windows settings. Fonts in Dear PyGui are still blurry