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

Enable ClearType #21

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

Enable ClearType #21

wants to merge 1 commit into from

Conversation

igordmn
Copy link
Collaborator

@igordmn igordmn commented Sep 2, 2022

Fixes JetBrains/compose-multiplatform#875

TODO: read clear type settings on skiko level from the system. The same way as Chromium does it:
https://source.chromium.org/chromium/chromium/src/+/main:ui/gfx/font_render_params_win.cc;l=91;drc=2d80b7b69c11da0716326b7fdc15568fc30820c2

Also we need to observe changes, and recreate surface in Skiko when pixel geometry changes (it happens, when the user rotates the display/tablet)

Fixes JetBrains/compose-multiplatform#875

TODO: read clear type settings on skiko level from system. The same way as Chromium does it:
https://source.chromium.org/chromium/chromium/src/+/main:ui/gfx/font_render_params_win.cc;l=91;drc=2d80b7b69c11da0716326b7fdc15568fc30820c2

Also we need to observe changes, and recreate surface in Skiko when pixel geometry changes (it happens, when the user rotates the display/tablet)
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.

Text looks bad in Windows 10
1 participant