EMATech / MidiExplorer

Yet another MIDI monitor, analyzer, debugger and manipulation tool.
GNU General Public License v3.0
46 stars 1 forks source link

Improve font rendering on Windows #2

Open bandit-masked opened 2 years ago

bandit-masked commented 2 years ago

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 commented 2 years ago

image