Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 138783 - bitmap wide Latin chars in Japanese and Korean pango text
Summary: bitmap wide Latin chars in Japanese and Korean pango text
Status: CLOSED DUPLICATE of bug 107952
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-11 05:14 UTC by Jens Petersen
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-02-21 19:06:55 UTC

Attachments (Terms of Use)
firefox-ja-no-pango-yahoo.png (deleted)
2004-11-11 05:16 UTC, Jens Petersen
no flags Details
firefox-ja-pango-yahoo.png (deleted)
2004-11-11 05:23 UTC, Jens Petersen
no flags Details

Description Jens Petersen 2004-11-11 05:14:20 UTC
Description of problem:
Running firefox with pango enabled, I see ASCII text in
Japanese rendered badly at the wrong size and with a bitmap
font that makes it stand out.  This is on a FC3 box.

Version-Release number of selected component (if applicable):

How reproducible:
every time

Steps to Reproduce:
1. Start a new firefox session with:
$ LANG=ja_JP.UTF-8 firefox
2. Start a new firefox session with:
Actual results:
(1) renders well with ASCII in the same font as the Japanese text as expected.
(2) renders with ASCII in an undersized bitmap font which looks bad.

Expected results:
(2) Should look pretty much like (1) with the same anti-aliased font for
ASCII text.

Comment 1 Jens Petersen 2004-11-11 05:16:32 UTC
Created attachment 106472 [details]

Shot of (1) without pango.  Notice how "FRB" etc is in the right
size and font.

Comment 2 Jens Petersen 2004-11-11 05:23:08 UTC
Created attachment 106473 [details]

With pango (2).  Notice how "FRB" in the title is tiny and
the other ascii text in the text too.

Actually the highlighted bracketed text moves around when it
is highlighted - though it can't be seen in this this screenshot.
The openning "(" is actually rendered correctly, but the "FRB)"
is small: when highlighted this text moves around.

Comment 3 Nakai 2004-11-11 05:53:51 UTC
Try install Japanese translation for firefox.

There is a similar bug for Mozilla:

Comment 4 Jens Petersen 2004-11-11 06:19:05 UTC
Pango seems to fix the problem in bug 107617. :)
The problem reported here is a problem caused by pango rendering.

Comment 5 Warren Togami 2004-11-12 07:07:29 UTC
Reassigning to pango.  You can see this behavior in other pango using
applications.  One example:

1. xchat
2. enable cannaLE
3. Type "The"
5. Type "TESThe"

T㸠has the "T" is smaller than 㸠because it is an ugly bitmap font.
TEST㸠has "TEST" the same size as ã¸.

Comment 6 Warren Togami 2004-11-12 07:17:48 UTC
Oops, the test case in Comment #5 above is bad.

However this is still a pango or font problem where multibyte latin
characters are falling back to the bitmap fonts.

Comment 7 Leon Ho 2004-11-12 07:23:13 UTC
Those two test cases are just the way CannaLE outputs.

The real question is: the multibyte 'T' (ï¼´) is using Fixed seems, and
Kochi has that glyphs (U+FF34)

Comment 8 Leon Ho 2004-11-12 07:26:10 UTC
Owen, seems pango is using Fixed for the multibyte 'T' (ï¼´). Is it a
known behavior on pango? (as mentioned, Kochi has that glyphs (U+FF34))

Comment 10 Owen Taylor 2004-11-18 18:13:53 UTC
This is basicallya dup of bug 107952. Pango says 'T', that's
Latin, not Han, this 'ja' language tag doens't make sense,
let me tag this with 'en'. But fontconfig doesn't consider
that Kochi is a good font for the 'en' language tag.

Probably easiest fix is to strip down the 'en' coverage that
fontconfig requires to not have all extended characters.

A fix for this specifically would be to reassign wide latin
characters to be Han instead of Latin, or to make them script
neutral. But that would cause Pango's script assigmments to
deviate from the Unicode standard, which I don't like.

*** This bug has been marked as a duplicate of 107952 ***

Comment 11 Jens Petersen 2005-03-01 11:03:04 UTC
I just tried fontconfig-2.2.99 and it seems to fix this issue too. :)

Will it be in fc4?

Comment 12 Red Hat Bugzilla 2006-02-21 19:06:55 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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