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

WIP: DPI scaling improvements #725

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

whitequark
Copy link
Contributor

This PR includes three parts:

  1. Splitting GetContentScale() into GetUIScale() and GetFontScale()
  2. Making the two possible to override without recompiling ngscopeclient, on any platform, using NGSCOPECLIENT_UI_SCALE and NGSCOPECLIENT_FONT_SCALE
  3. Auto-detecting these using GDK_SCALE and GDK_DPI_SCALE on Linux, which should cover both GTK and Qt

This probably breaks scaling, to the extent it did work, on Windows and macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant