You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by mi...@apache.org on 2022/05/06 18:48:19 UTC
[jmeter] branch master updated: Update the section about JMeter and HiDPI screens. Add mention to Java property sun.java2d.uiScale.
This is an automated email from the ASF dual-hosted git repository.
milamber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 4f05afcdd6 Update the section about JMeter and HiDPI screens. Add mention to Java property sun.java2d.uiScale.
4f05afcdd6 is described below
commit 4f05afcdd617bd89fb38b608db3196e29ab19e87
Author: Milamber <mi...@apache.org>
AuthorDate: Fri May 6 18:48:03 2022 +0000
Update the section about JMeter and HiDPI screens.
Add mention to Java property sun.java2d.uiScale.
---
xdocs/usermanual/hints_and_tips.xml | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/xdocs/usermanual/hints_and_tips.xml b/xdocs/usermanual/hints_and_tips.xml
index f2f6b9fb27..070cea8027 100644
--- a/xdocs/usermanual/hints_and_tips.xml
+++ b/xdocs/usermanual/hints_and_tips.xml
@@ -100,13 +100,22 @@ will match any component that contains test in searchable elements of the compon
</subsection>
-<subsection name="§-num;.4 JMeter with a HiDPI screen on Linux or Windows" anchor="hidpi">
+<subsection name="§-num;.4 JMeter and a HiDPI screen" anchor="hidpi">
<description>
<p>
- The HiDPI mode isn't currently support by the Swing API in Java on Linux, MacOS or Windows. Therefore
- JMeter can be very hard to read with a HiDPI screen (little icons and chars).
+ With <b>Java version 9 and up</b>, the HiDPI (High Dot Per Inch) screens are supported.
</p>
- <p>You can improve the JMeter's display on HiDPI screen by changing some properties:</p>
+ <p>
+ You can define the Java property <b>sun.java2d.uiScale</b> to change the scale of JMeter.
+ The value can be an integer or percentage value.
+ </p>
+ <p>For example, on Linux, with x2 factor (200%):</p>
+ <source>
+ $ export JVM_ARGS="-Dsun.java2d.uiScale=200%"
+ $ ./bin/jmeter</source>
+ <p>
+ With <b>Java version 8</b>, the HiDPI (High Dot Per Inch) screens aren't supported in the Swing API.
+ You can improve the JMeter's display on HiDPI screen by changing some properties:</p>
<dl>
<dt><code>jmeter.hidpi.mode</code></dt>
<dd>set to <code>true</code> to activate a '<em>pseudo</em>'-hidpi mode allowing to increase size of some UI elements</dd>