Modify

Opened 8 days ago

Last modified 4 days ago

#20127 new defect

Fonts size too small for dialog boxes and the map

Reported by: rpnpif@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report hidpi Cc:

Description (last modified by simon04)

I can resize menus fonts by gui.scale.*=1.5 but not dialog boxes and maps.

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.00*+

Linux Debian 10.

$ xdyinfo # got wrong dpi infos:
screen #0:
  dimensions:    1920x1080 pixels (508x285 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32

What is the expected result?

JOSM should detect automatically the dpi value (144 here).

What happens instead?

JOSM is difficult to use.
GDI_SCALE=2 got huge and unusable fonts.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Revision:17084
Build-Date:2020-10-04 01:30:47
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17084 fr) Linux Debian GNU/Linux 10 (buster)
Memory Usage: 406 MB / 1866 MB (287 MB allocated, but free)
Java version: 11.0.9+11-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: XFCE
Java package: openjdk-11-jre:amd64-11.0.9+11-1~deb10u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-22
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-

Plugins:
+ AddrInterpolation (35583)
+ OpeningHoursEditor (35579)
+ apache-commons (35524)
+ ejml (35313)
+ geotools (35169)
+ jaxb (35092)
+ jts (35122)
+ opendata (35513)
+ utilsplugin2 (35624)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1

Map paint styles:
+ https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/FranceSpecificRules&zip=1

Attachments (0)

Change History (3)

comment:1 Changed 8 days ago by simon04

Description: modified (diff)
Keywords: hidpi added

comment:2 in reply to:  description ; Changed 4 days ago by Don-vip

Replying to rpnpif@…:

$ xdyinfo # got wrong dpi infos:
screen #0:
  dimensions:    1920x1080 pixels (508x285 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32

What do you mean by this? xdyinfo returns wrong information?

comment:3 in reply to:  2 Changed 4 days ago by anonymous

Replying to Don-vip:

What do you mean by this? xdyinfo returns wrong information?

I believed but after some tests and settings in xorg, I saw that xdpyinfo returns good information. So forget those about xdpyinfo.
In can confirm other issues about too little fonts in dialogue boxes and maps.

More. If I run xrandr --output eDpi --scale 1.5x1.5, Josm reported still Screen: :0.0 1920x1080 (scaling 1.0x1.0).

No matter, Josm should take account the dimensions of the screen to calculate dpi or another way to adapt the fonts size.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to rpnpif@trob.eu
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.