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

hi-dpi on Plasma 6 not detected #15

Open
charlottia opened this issue Nov 24, 2024 · 0 comments
Open

hi-dpi on Plasma 6 not detected #15

charlottia opened this issue Nov 24, 2024 · 0 comments
Labels
adc Relates to the ADC IDE

Comments

@charlottia
Copy link
Owner

We use a bit of a hack to detect on macOS:

if ((try renderer.getOutputSize()).width_pixels == request_width * 2)
    try renderer.setScale(scale * 2, scale * 2)
else
    try renderer.setScale(scale, scale);

This doesn't do the trick on KDE. Probably a better solution.

@charlottia charlottia added the adc Relates to the ADC IDE label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adc Relates to the ADC IDE
Projects
None yet
Development

No branches or pull requests

1 participant