MidiExplorer icon indicating copy to clipboard operation
MidiExplorer copied to clipboard

Improve font rendering on Windows

Open bandit-masked opened this issue 3 years ago • 1 comments

Improve the font rendering for Windows specifically by using the following code.

import ctypes
# Include the following code before showing the viewport/calling `dearpygui.dearpygui.show_viewport` and set a bigger font size with DPG.
ctypes.windll.shcore.SetProcessDpiAwareness(2)

bandit-masked avatar Aug 29 '22 20:08 bandit-masked

image

bandit-masked avatar Aug 29 '22 20:08 bandit-masked