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

HiDPI support with scaled buffer #3

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

HiDPI support with scaled buffer #3

wants to merge 1 commit into from

Conversation

djpohly
Copy link
Owner

@djpohly djpohly commented Apr 19, 2021

Starting to work on #2. We will need to listen for the outputs' scale events, record the scale for each output, then choose the correct scale upon receiving an enter event. Will we need geometry events as well to calculate an initial DPI, or is there a better way to scale the font?

Think about: will we receive the enter before having to attach and commit a buffer that may not be scaled correctly? Should we set initial scale to the max of all outputs so that every frame is perfect?

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.

None yet

1 participant