Skip to content

Lazy HiDPI support for Qt5.#293

Merged
buggins merged 1 commit into
buggins:masterfrom
virxkane:qt5-hidpi
May 25, 2021
Merged

Lazy HiDPI support for Qt5.#293
buggins merged 1 commit into
buggins:masterfrom
virxkane:qt5-hidpi

Conversation

@virxkane

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