Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve font rendering on Windows #2

Open
bandit-masked opened this issue Aug 29, 2022 · 1 comment
Open

Improve font rendering on Windows #2

bandit-masked opened this issue Aug 29, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bandit-masked
Copy link

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
Copy link
Author

image

@rdoursenaud rdoursenaud self-assigned this Aug 29, 2022
@rdoursenaud rdoursenaud added this to the Version 0.1 milestone Aug 29, 2022
@rdoursenaud rdoursenaud added the enhancement New feature or request label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants