EMATech/MidiExplorer

Improve font rendering on Windows

Opened this issue · 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)