My laptop is hp spectre x360 13
and my OS is Ubuntu 18.04.4 LTS
. I want to use a Java-based application called paraprof
(here). Sorry, I don't use Java so I put part of its description below (don't know whether it helps):
ParaProf requires Oracle / Sun's Java 1.5 Runtime Environment for basic functionality.
Java JOGL (included) is required for 3d visualization and image export. Additionally,
OpenGL is required for 3d visualization.
The problem is when I launch it the font size is too small to read:
I think this is a scaling problem on high DPI display? The built-in display of my laptop is 3840 * 2160
, and in setting - screen display
section I set the Scale
option as 300%
.
I encounter a similar scaling problem before, the font size of spotify
is also really small. I solved this one by adding alias spotify="/snap/bin/spotify --force-device-scale-factor=3.5"
in my bashrc
file. I wonder if there is similar solution to this one.
I see some people suggest to use -Dsun.java2d.uiScale=2.0
here, but I am not sure how to use this.