AdoptOpenJDK / AdoptOpenJDK/IcedTea-Web

Running JNLP on HiDPI(4k) displays with scaling

Đang mở
#836 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
268
Fork
96
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,

I have a problem with IcedTea-web executing JNLP file from browser (namely Intel rmm3 remote console Jviewer) on HiDPI display in X11 - windows are too small and fonts are just unreadable.

It's possible to workaround with setting up environment variable **GDK_SCALE=3** or **GDK_DPI_SCALE=1.5** and that works just fine while executing **/usr/bin/itweb-settings** from command line.

I tried to create simple shell wrapper as /usr/bin/javaws
```
#!/bin/sh
export GDK_SCALE=3
/usr/share/icedtea-web/bin/javaws $@
```
but that didn't work out. Quick search on the web says that I need to pass -Dsun.java2d.uiScale=3 argument to javaws but adding it to the command line inside the wrapper didn't work for running JNLP files from web page either.

Current workaround is to run browser with set GDK_SCALE=3, this way env variable is passed to IcedTea.

Is there any other way to make icedTea DPI aware/scale interface on HiDPI screens?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.