Modify

Opened 2 years ago

Closed 18 months ago

Last modified 18 months ago

#22253 closed enhancement (fixed)

Overpass query font size too small

Reported by: pl71 Owned by: team
Priority: normal Milestone: 23.06
Component: Core Version:
Keywords: template_report windows laf Cc:

Description (last modified by gaben)

What steps will reproduce the problem?

  1. Download data... / Download from Overpass API
  2. Enter text in the Overpass query pane

What is the expected result?

Standard font size, same as those for menu items or bigger

What happens instead?

Smaller font size, almost unreadable

Overpass query

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-07-07 23:02:39 +0200 (Thu, 07 Jul 2022)
Revision:18513
Build-Date:2022-07-08 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18513 en) Windows 10 64-Bit
OS Build number: Windows 10 Education 2009 (19044)
Memory Usage: 232 MB / 4014 MB (113 MB allocated, but free)
Java version: 17.0.3+7, Eclipse Adoptium, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1251
System property sun.jnu.encoding: Cp1251
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890

Plugins:
+ CustomizePublicTransportStop (35976)
+ apache-commons (35924)
+ ejml (35924)
+ geotools (35959)
+ jackson (35958)
+ jaxb (35952)
+ jts (35976)
+ opendata (35984)
+ pdfimport (35976)
+ utilsplugin2 (36001)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00000.343 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.345 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00002.814 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00003.113 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00006.035 E: java.nio.charset.MalformedInputException: Input length = 1

Attachments (1)

Screenshot 2022-07-28 075251.png (12.9 KB ) - added by pl71 2 years ago.
Overpass query

Download all attachments as: .zip

Change History (7)

by pl71, 2 years ago

Overpass query

comment:1 by gaben, 2 years ago

Description: modified (diff)
Keywords: windows added

Could you please check the note dialogue as well? See #20850.

in reply to:  1 comment:2 by pl71, 2 years ago

Replying to gaben:

Could you please check the note dialogue as well? See #20850.

Yes, it is the same bug.
It affects only the Windows theme.

comment:3 by gaben, 18 months ago

See ticket:20850#comment:8 for a possible fix.

comment:4 by gaben, 18 months ago

Keywords: laf added

comment:5 by taylor.smock, 18 months ago

Resolution: fixed
Status: newclosed

In 18751/josm:

Fix #20850 and #22253: Font size in TextAreas is very small in Windows (patch by gaben, modified)

This is due to JDK-6396936: Windows LaF has an incorrect font for TextArea.font.
The bug will most likely never be fixed due to backwards compatibility concerns.

Modifications are as follows:

  • Move the workaround to be with other LaF workarounds
  • Ensure that LaF workarounds are applied by calling them after the LaF is set.
  • Add a check to the workaround to ensure that it will only be applied in known-bad configurations.

comment:6 by gaben, 18 months ago

Milestone: 23.06

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.