| 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 | 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''. |
| | 28 | If you want to keep it permanently, you can modify the config file, `josm` respectively `josm-latest`, usually located in `/etc/default/` (Debian/Ubuntu) or `/etc/conf.d/` (Arch) by adding this line at the end of the file: |
| | 29 | {{{#!bash |
| | 30 | export GDK_SCALE=2 |
| | 31 | }}} |
| | 32 | |
| | 33 | Alternatively, you can modify the java2d ui-scaling via the command line or the above config file. Refer to [wikitr:/Help/Preferences#Customizationalloperatingsystems] for details: |
| | 34 | {{{#!bash |
| | 35 | JOSM_ARGS="-Dsun.java2d.uiScale=2 {other args}" |
| | 36 | }}} |
| | 37 | |
| | 38 | |
| | 39 | == Tweaks == |
| | 40 | Background imagery:: By default, the tiles of the background imagery are scaled by the same factor as other GUI elements. This ensures appropriate font size, in case the background imagery contains text and symbols. However, it leads to reduced image resolution. |
| | 41 | |
| | 42 | Under [wikitr:/Help/Preferences/Imagery#Settings Imagery preferences / Settings] / ''Tiles zoom offset'', you can set an offset of 1. This makes JOSM fetch tiles of one zoom level higher and double the image resolution. Currently, this setting only applies to main map area and not the download dialog. |
| | 43 | |
| | 44 | Menu font size:: The font size for the main menu can be scaled by a certain factor using the advanced preference value `gui.scale.menu.font`. It is intended for relatively small adjustments. (JOSM r12923 or later). |
| | 45 | |
| | 46 | Icons sizes:: There are advanced options `iconsize.*` to tweak the default icon sizes. In particular `iconsize.smallicon` will affect the icons in front of menu items, but also on some other places, e.g. in the panels on the right. |
| | 47 | |
| | 48 | HiDPISupport Style:: [wikitr:/Styles/HiDPISupport This] style scales the drawing of the map area using MapCSS tools. It was created at a time of poor HiDPI support in Java and should only be required in exceptional cases. |
| | 49 | |
| | 50 | Image scaling (deprecated, experimental):: The advanced option `gui.scale` was used to scale the GUI, basically trying to implement what is now available as Java 9 HiDPI support. It only got as far as scaling images. Further development is not planned as it is obsoleted by the Java 9 features. This option may be removed in a future release of JOSM. |