#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)
Change History (7)
by , 9 years ago
Attachment: | Screenshot-1.png added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
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:4 by , 9 years ago
Milestone: | → 15.07 |
---|
comment:5 by , 9 years ago
Replying to Don-vip:
Does it still work fine for Khmer?
Yes, the font changed for every language but Khmer.
In 8641/josm: