| 1 | = HiDPI support = |
| 2 | |
| 3 | This page contains information on how to use JOSM with a high-resolution display. |
| 4 | |
| 5 | == Basics == |
| 6 | |
| 7 | 1. Proper HiDPI-support was added with Java 9, so make sure you are running Java 9 or later. |
| 8 | 2. JOSM version r12722 or later is required. |
| 9 | |
| 10 | You can expect best results with even scale factors, e.g. 200%, 400%, ... but other values are supported as well. |
| 11 | |
| 12 | == How to enable HiDPI mode == |
| 13 | |
| 14 | If HiDPI mode is not enabled out-of-the-box, here are ways to activate it. |
| 15 | |
| 16 | === Windows === |
| 17 | |
| 18 | On Windows, you can activate scaled display mode for the system-wide. See for example [http://pccleaningtools.com/how-to-enlarge-display-text-in-windows this] extensive help page. |
| 19 | |
| 20 | For Windows 7, the option is called ''Display / Set custom text size (DPI)'', for Windows 8 it is called ''Display / Change the size of all items'' and for Windows 10 it is ''Display / Customize your display / Change the size of text, apps, and other items'' |
| 21 | |
| 22 | === Linux === |
| 23 | |
| 24 | You can activate HiDPI-mode for one application by running it with the `GDK_SCALE` environment variable set to 2, 4, ..., e.g. |
| 25 | {{{#!bash |
| 26 | GDK_SCALE=2 java -jar josm.jar |
| 27 | }}} |