Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11750 closed defect (fixed)

Broken UTF-8 support in startup screen

Reported by: mmyfl Owned by: team
Priority: normal Milestone: 15.08
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Choose Chinese language (either zh_CN or zh_TW), then restart JOSM.

What is the expected result?

Startup screen with the program name 'Java OpenStreetMap 编辑器'

What happens instead?

Java OpenStreetMap ???

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-08-03 01:32:29
Last Changed Author: Don-vip
Revision: 8637
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-08-02 23:08:56 +0200 (Sun, 02 Aug 2015)
Last Changed Rev: 8637

Identification: JOSM/1.5 (8637 zh_CN) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 72 MB / 494 MB (29 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK Client VM
Java package: openjdk-7-jre:i386-7u75-2.5.4-2
Program arguments: [--debug]

Plugins:
- download_along (31241)

Last errors/warnings:
- W: PluginException: 无效的 jar 文件“/home/ding/.josm/plugins/utilsplugin2.jar”
- W: Failed to scan file 'utilsplugin2.jar' for plugin information. Skipping.

Attachments (1)

Screenshot-1.png (41.7 KB) - added by mmyfl 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by mmyfl

Attachment: Screenshot-1.png added

comment:1 Changed 5 years ago by bastiK

Resolution: fixed
Status: newclosed

In 8641/josm:

fixed #11750 - Broken UTF-8 support in startup screen

comment:2 Changed 5 years ago by bastiK

Unfortunately, Java doesn't support fallback fonts for physical fonts like "Arial". If you want full unicode support, you have to use logical fonts (e.g. "Serif"). Alternatively, one could check each string individually, if it can be rendered by a certain font. If not, use logical font instead. (This is done for mappaint where "Droid Sans" is used.)

comment:3 Changed 5 years ago by Don-vip

Does it still work fine for Khmer?

comment:4 Changed 5 years ago by Don-vip

Milestone: 15.07

comment:5 in reply to:  3 Changed 5 years ago by bastiK

Replying to Don-vip:

Does it still work fine for Khmer?

Yes, the font changed for every language but Khmer.

comment:6 Changed 5 years ago by Don-vip

Milestone: 15.0715.08

Milestone renamed

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.