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

Fix linux dpi #128

Merged
merged 4 commits into from
Jun 23, 2021
Merged

Fix linux dpi #128

merged 4 commits into from
Jun 23, 2021

Conversation

Rsedaikin
Copy link
Contributor

Force enable dpi support on Linux. To achieve this, we must set the system property "sun.java2d.uiScale" before initializing the AWT/Swing.

@Rsedaikin Rsedaikin requested review from olonho and igordmn June 23, 2021 06:56
@Rsedaikin Rsedaikin merged commit b55efc6 into master Jun 23, 2021
@Rsedaikin Rsedaikin deleted the fix-linux-dpi branch June 23, 2021 14:59
copybara-service bot pushed a commit to androidx/androidx that referenced this pull request Jun 26, 2021
Minor update to skiko. Notable changes:
* allowing to use skiko in more than one classloader
(JetBrains/skiko#121).
This is needed for the preview for desktop,
as well as using Compose is multi-classloader
environments such as the Intellij itself;
* fix for DPI issues on Linux
(JetBrains/skiko#128);

Test: local build + manual testing

Signed-off-by: Alexey Tsvetkov <alexey.tsvetkov@jetbrains.com>
Change-Id: Ida9cc3788929bf565db63228afcbf65a1fc6024c
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

2 participants