Opened 12 years ago

Closed 10 years ago

#192 closed defect/bug (fixed)

Rendering of asian fonts

Reported by: latouche Owned by: somebody
Priority: major Milestone: version 0.2.0
Component: graphics/gtk_drawing Version: git master
Severity: Keywords:
Cc:

Description

Asian fonts are not rendered on the map but they are shown in popup menus (using an OSM map) It's the case for Chinese and Japonese names. I suppose it would be the same for Korean but I didn't find any name in Korean.

Attachments (4)

pb_asian_fonts.png (38.0 KB) - added by latouche 12 years ago.
Screenshot of Tokyo showing the rendering issue
map-AR_PL_SungtiL_GB.png (220.3 KB) - added by latouche 12 years ago.
Map with font="AR PL SungtiL GB"
map-WenQuanYi_Bitmap_Song.png (184.6 KB) - added by latouche 12 years ago.
Map with font="WenQuanYi? Bitmap Song"
menu-WenQuanYi_Bitmap_Song.png (25.0 KB) - added by latouche 12 years ago.
Menu with font="WenQuanYi? Bitmap Song"

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by latouche

Screenshot of Tokyo showing the rendering issue

comment:1 follow-up: Changed 12 years ago by KaZeR

do asian names render well in other gtk-based apps?

comment:2 in reply to: ↑ 1 Changed 12 years ago by anonymous

Replying to KaZeR:

do asian names render well in other gtk-based apps?

Yes, no problem with that. I have all my fonts well configured to display asian text.

comment:3 Changed 12 years ago by latouche

I've tested to specify a font for the layout. I tested different asian fonts. Most of the fonts are not really usable by default with Linux. They can be read but the rendering is not great... So it is the same for Navit. The best font I know is WenQuanYi? Bitmap Song and when used with navit, the result is really ugly ... - it is the same for others (文鼎PL細上海宋Uni for exemple)

My system is using fontconfig with select the "best" font to use, but I suppose that the map and gui_internal don't rely on fontconfig. For my terminal (urxvt), I use "xft:terminus,xft:WenQuanYi Bitmap Song" to have both european and asian fonts well rendered. Hope it will give ideas to navit dev :)

Changed 12 years ago by latouche

Map with font="AR PL SungtiL GB"

Changed 12 years ago by latouche

Map with font="WenQuanYi? Bitmap Song"

Changed 12 years ago by latouche

Menu with font="WenQuanYi? Bitmap Song"

comment:4 Changed 12 years ago by KaZeR

  • Milestone set to version 0.1.0

comment:5 follow-up: Changed 11 years ago by kazer

Is this issue still valid? We have now a bunch of asian translations and never heard of this anymore.

comment:6 in reply to: ↑ 5 Changed 11 years ago by latouche

Replying to kazer:

Is this issue still valid? We have now a bunch of asian translations and never heard of this anymore.

If I set an asian font (文泉驛等寬正黑 for example), it is now readable. So we can say that it works even if using the system fonts via fontconfig (for the map layer and gui=internal) could be better

comment:7 Changed 10 years ago by kazer

  • Resolution set to fixed
  • Status changed from new to closed

Ok, so i'll close the ticket for now.

Note: See TracTickets for help on using tickets.