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

Lazy HiDPI support for Qt5. #293

Merged
merged 1 commit into from
May 25, 2021
Merged

Lazy HiDPI support for Qt5. #293

merged 1 commit into from
May 25, 2021

Conversation

virxkane
Copy link
Collaborator

Lazy HiDPI support for Qt5:

  • Disabled scaling of the widget to prevent blurred text.
  • Setted PROP_RENDER_DPI property for crengine to scale some engine's elements.
    But we don't apply PROP_RENDER_SCALE_FONT_WITH_DPI property, since for now we are setting the font size in pixels.

This should closes #292.

@virxkane
Copy link
Collaborator Author

App version: master + this branch
Global scaling factor: 2

Screenshot_20210524_212623

@virxkane virxkane marked this pull request as ready for review May 25, 2021 06:28
@buggins buggins merged commit 2866dcc into buggins:master May 25, 2021
@virxkane virxkane deleted the qt5-hidpi branch May 25, 2021 15:22
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.

Blurry font rendering on a high DPI display
2 participants