Bug 868836 - the language spoke use Chinese font for Japanese
Summary: the language spoke use Chinese font for Japanese
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-22 09:13 UTC by Akira TAGOH
Modified: 2012-11-23 05:35 UTC (History)
7 users (show)

Fixed In Version: anaconda-18.20-1
Clone Of:
Environment:
Last Closed: 2012-11-23 05:35:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (1.74 KB, patch)
2012-10-22 09:19 UTC, Akira TAGOH
no flags Details | Diff
the language list rendering comparison (446.89 KB, image/png)
2012-10-22 09:23 UTC, Akira TAGOH
no flags Details

Description Akira TAGOH 2012-10-22 09:13:40 UTC
Description of problem:
Summary says it all, this happens because pango/fontconfig guesses the wrong font from a given character, particularly which is in the unified ideographs or so in Unicode.

Version-Release number of selected component (if applicable):
anaconda-18.19-1.fc18.x86_64

How reproducible:
always

Steps to Reproduce:
1.see the language list on the language spoke
2.
3.
  
Actual results:
unexpected Chinese font is used for Japanese

Expected results:
Japanese font should be used.

Additional info:

Comment 1 Akira TAGOH 2012-10-22 09:19:03 UTC
Created attachment 631345 [details]
proposed patch

This patch is to use the pango markup in GtkCellRendererText for nativeName.

Comment 2 Akira TAGOH 2012-10-22 09:23:08 UTC
Created attachment 631348 [details]
the language list rendering comparison

the left column is the one without the pango markup, i.e. the original, the middle column is with the pango markup. the right column is just a guideline to see what the language a row is for.

You can see the difference for Japanese at least.

Comment 3 Chris Lumens 2012-10-22 15:37:00 UTC
Wow, that is really subtle and I definitely never would have caught it.  Thanks a lot for the patch.  I will be pushing it shortly.

Comment 4 Adam Williamson 2012-11-23 05:35:41 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.

(This looks correct to me in Beta RC1.)


Note You need to log in before you can comment on or make changes to this bug.