Bug 441213 - [i18n] [zh_CN] different font used for ASCII
Summary: [i18n] [zh_CN] different font used for ASCII
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 9
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-07 07:13 UTC by Yu Shao
Modified: 2009-06-10 02:31 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-10 02:31:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot attached illustrating the problem (120.42 KB, image/png)
2008-04-07 07:13 UTC, Qing LIN
no flags Details

Description Qing LIN 2008-04-07 07:13:37 UTC
Description of problem:
Load font TC under konqueror and noticed that some English plaphabet is not bold as 
they displayed with gedit.

Version-Release number of selected component (if applicable):
kdebase-4.0.3-5.fc9.i386

How reproducible:
Always

Steps to Reproduce:
1.Load the font TC with konqueror in f9 beta-zh_CN
2.Compare against the output of gedit
3.
  
Actual results:
Different bold effect 

Expected results:
Should be same

Additional info:
Similar cases in f9 alpha-ko_KR/zh_TW/ja_JP/zh_CN

Comment 1 Qing LIN 2008-04-07 07:13:37 UTC
Created attachment 301476 [details]
Screenshot attached illustrating the problem

Comment 2 Kevin Kofler 2008-04-07 12:47:41 UTC
That's WQY Bitmap Song, right?

I guess this is still the "WQY claims latin letters" problem, gedit is just 
using a latin font, Konqueror is using the WQY font throughout (which looks bad 
for latin letters).

Comment 3 Qing LIN 2008-04-08 02:13:14 UTC
(In reply to comment #2)
> That's WQY Bitmap Song, right?
> 
> I guess this is still the "WQY claims latin letters" problem, gedit is just 
> using a latin font, Konqueror is using the WQY font throughout (which looks bad 
> for latin letters).

Yes, WQY Bitmap Song, it is.

Comment 4 Baif 2008-05-08 10:57:17 UTC
I did not get any "bold style" appearance for Chinese fonts on F9 for QT/KDE 
apps.

Bold style is OK for my QT/KDE apps onF8.

Comment 5 Kevin Kofler 2008-05-08 13:33:21 UTC
Most Qt/KDE apps in F9 are Qt 4, most Qt/KDE apps in F8 are Qt 3, those are 
very different codebases especially in this domain (font rendering).

Please try Qt/KDE 4 apps in F8 (e.g. marble) and/or Qt/KDE 3 apps in F9 (e.g. 
KMail in kdepim) for a fair comparison.

(And sorry for nitpicking, but it's "Qt", not "QT". ;-) )

Comment 6 Baif 2008-05-09 20:21:30 UTC
;-) just press shift for input "qtkde"...

Thanks.I'll try kmail later, since my F9 is beta with latest rawhide.

take a look at http://www.linux-ren.org/modules/everestblog/?p=131

Comment 7 Bug Zapper 2008-05-14 09:00:59 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Steven M. Parrish 2008-06-23 20:28:56 UTC
Is this still an issue with the latest KDE 4.0.5?

Comment 10 Qianqian Fang 2008-07-01 05:11:29 UTC
To my opinion, this bug shall be filed to Qt or Xft. Let me explain:

With earlier versions of Xft library, fake-bold (automatically emboldening a
bitmap glyph produce its bold face) was not supported
(http://lists.freedesktop.org/archives/xorg-bugzilla-noise/2004-October/003643.html
). So, since the first release of wqy-bitmap-fonts, we have been including a
pre-made bold face for each bitmap size (9-11pt). We recently stopped doing that
(http://wenq.org/forum/viewtopic.php?t=655), because we thought that Xft is
mature enough for emboldening bitmaps if bold face is not provided. I updated
the wqy-bitmap-fonts to reflect this change for Fedora. This also halve the file
size for this package.

The reported bug seems more like that Xft/Qt is not correct/consistent in
handling automatic-emboldening bitmap fonts when bold face is missing. I would
suggest either assigning this bug to kde/qt rendering library, or Xft. More
input is also welcome to clarify the accurate source of this problem.

Comment 11 Qianqian Fang 2008-07-01 05:18:13 UTC
just realized Baif had found the right solution to this problem in his reply on
May 9. Has this patch been accepted by KDE4 team?

Comment 12 Kevin Kofler 2008-07-01 08:27:01 UTC
This type of patches has to go to Trolltech, not KDE, and (unless it's already 
in 4.4) it will most likely not get in before Qt 4.5. Moreover, Qt 3 no longer 
gets updated, so if Qt 3 doesn't currently support this, this feature will 
never be supported in Qt 3.

Comment 13 Jens Petersen 2008-07-02 08:08:58 UTC
I am still not really convinced any bold font is involved here in this report.
To me it just looks to be the contrast of the light Chinese font and
the dark Western font, no?  I have generally found Chinese fonts to be pretty
faint but maybe it is necessary for them to be so fine to be able
render very detailed Hanzi characters?

I think there was some discussion somewhat related to this pango issue
between Qianqian and Behdad not so long ago on fedora-fonts-list IIRC
and also elsewhere.

Shao, I think if you specify a Chinese font in the gedit preferences it looks
ok, no?
So I think this is really comes down to pango.  We could try reassigning to pango,
but unless someone has some real ideas how to improve it upstream
it is probably unlikely to get changed yet.

(But sure, I guess the Qt embolden issue is worth pursuing upstream.)

Comment 14 Nicolas Mailhot 2008-07-02 08:28:17 UTC
If the problems are reported against QT apps I sort of doubt pango is involved.

It would be nice to have a confirmation it works as expected in a pango app such
as gedit though.

Comment 15 Jens Petersen 2008-07-02 09:41:17 UTC
(In reply to comment #14)
> If the problems are reported against QT apps I sort of doubt pango is involved.

No, the complaint was that the rendering in konqueror and gedit is different.
Actually Qt seems to be doing the right thing here and it is pango that is
using a different font for the Western characters in the screenshot as is
a well-known problem.

Comment 17 Jens Petersen 2008-07-11 07:09:01 UTC
Sorry, Behdad...

Comment 18 Qianqian Fang 2008-07-11 16:36:33 UTC
I take back my Comment #10, which seems to be an unrelated issue with this bug.

I agree with Jens, this is somewhat related to Pango, but I think it is likely a
not-a-bug.

The title of the bug is not accurate: what the submitter complained about is the
mixing of bitmap Hanzi glyphs with Anti-aliased vector glyphs (he called it bold
effect). This might well be a designed feature: if he selected "monospace" as
font family, based on the fontconfig setting of wqy-bitmap-fonts, we will use
"Dejavu Sans Mono" to display Latin glyphs, and wqy-bitmap-fonts to display the
Hanzi glyphs. So, it looks correct to me. If the submitter prefer to use
wqy-bitmap-fonts for all glyphs, he should select "WenQuanYi Bitmap Song" as the
font name in gedit.

If the submitter was complaining about the digits (such as "302" and "320") are
inconsistent with Latin glyphs, then I would like to direct him to the old
discussion with Behdad: 
http://www.mail-archive.com/fedora-fonts-list@redhat.com/msg00191.html

Comment 19 Qianqian Fang 2008-07-11 16:44:42 UTC
If the submitter or any of the reporters selected "bold" style and did not get
any bold faces displayed, I think he should file a separate bug, as it is
different from what the submitter originally reported.

Comment 20 Tony Fu 2008-09-10 03:14:50 UTC
requested by Jens Petersen (#27995)

Comment 21 Bug Zapper 2009-06-10 00:01:57 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 22 Kevin Kofler 2009-06-10 00:30:21 UTC
Is this still reproducible in F10 or F11?
And do we have any clue which component(s) is/are actually at fault here and what needs to be fixed?

Comment 23 Yewei Shao 2009-06-10 02:31:31 UTC
I verified this bug in kdebase-4.1.2-5.f10, and I find this bug can not be reproduced now, so I will close this bug.


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