After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156225 - i18n font problems with GTK+ 2.4.10 Rev B
i18n font problems with GTK+ 2.4.10 Rev B
Status: RESOLVED DUPLICATE of bug 152997
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-10-23 16:36 UTC by Luke Schierer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pango.alias file from affected user (354 bytes, text/plain)
2004-11-14 15:10 UTC, Luke Schierer
Details

Description Luke Schierer 2004-10-23 16:36:12 UTC
install a gtk program usig GTK+ 2.4.10 Rev B on win32. try to use a chinese
(simplified or traditional) font. it'll show square boxes. uninstall GTK+ 2.4.10
Rev B and install GTK+ 2.4.10 Rev A, and it works.
Comment 2 Tor Lillqvist 2004-10-23 17:02:45 UTC
Please note that, as far as I know, nobody here knows what "Rev A" and "Rev B" 
means. If there is a difference between them, the packager who you got them 
from probably knows what it is. Ask him/her.
Comment 3 Luke Schierer 2004-10-23 19:46:44 UTC
additional reports coming in indicate that this happens with romanian also. I'll
get back to you on the revision thing. 
Comment 4 Luke Schierer 2004-10-23 19:53:48 UTC
right now, all I know, and all my users know is that its the versioning & file
info as downloaded from the gtk installers that herman creates. I've asked one
of our win32 guys to comment further on this bug with more info on that. they
added the following changelog entry that may help:
    * Updated GTK+ to 2.4.10 (rev b)
      This revision updates glib to 2.4.7 and pango to 1.6.0, fixing the
      dreaded 'UDP port pollution' and 'crash on symbol font' bugs
      respectively.
Comment 5 Ambrose LI 2004-10-23 20:10:24 UTC
Paladin Liu (the other gaim translator for traditional Chinese)
found out that this problem is in pango and can be worked
around by modifying the pango.aliases file:

For traditional Chinese, you have to (if you don't downgrade
GTK) edit pango.aliases file (with an editor that
understands Unix-style line endings) and replace all the
list of font names with just "MingLiU". For example,
pango.aliases has

   sans = "Lucida Sans Unicode,Microsoft Sans Serif,..."

and this line must be replaced with

   sans = "MingLiU"

and the same change must be done also to the "serif" and
"courier" aliases.

The workaround is identical for simplified Chinese, but with
a different font (I am not sure what the system font for
simplified Chinese is).
Comment 6 Luke Schierer 2004-10-24 17:23:27 UTC
Herman tells me that revsion A had pango version 1.4.1,  does that information
suffice (in conjunction with the above)? 
Comment 7 Tor Lillqvist 2004-10-24 17:36:23 UTC
This must be a duplicate of bug #152997. The fix for that was applied to HEAD 
only, not to pango-1-6. I don't think I was even aware that there was a pango-1-
6 branch when I fixed that. (But Pango 1.6.0 had been released on Sep 13, and 
the bug was fixed on Sep 25, so it wouldn't have helped anyway.) Will have to 
apply the fix to the pango-1-6 branch, too, and it will then be in Pango 1.6.1.
Comment 8 Tor Lillqvist 2004-10-24 17:36:56 UTC

*** This bug has been marked as a duplicate of 152997 ***
Comment 9 Luke Schierer 2004-11-13 02:20:07 UTC
I am getting reports that this fixed winXP but that the problem persists on win2k
Comment 10 Tor Lillqvist 2004-11-13 02:27:38 UTC
that *what* fixed winXP? Are you talking about the somewhat misleading hint to 
edit the pango.aliases file. That's just a workaround. The real fix has been 
applied to the Pango source code. It will be in Pango 1.6.1, whenver that is 
released. Bugzilla is about bugs in the source code, so no need to repoen this. 
The problem is that the GTK distribution you use includes the broken Pango 
1.6.0 instead of the working 1.4.1.

*** This bug has been marked as a duplicate of 152997 ***
Comment 11 Luke Schierer 2004-11-13 02:35:39 UTC
i reopened it because we changed what pango we distribute, and the problem has
gone away for windows XP users, but not for windows 2000 users. I am working on
getting you the version of pango we are now shipping. 
Comment 12 Luke Schierer 2004-11-13 02:36:53 UTC
and yes, I know that this bugzilla, like our own sf tracker, refers to source
code bugs. bug when I change pango versions and the problem only partly goes
away, I tend to think that just maybe your fix was not complete. 
Comment 13 Tor Lillqvist 2004-11-13 03:12:40 UTC
Do the fonts listed in the pango.aliases file (especially the Chinese ones in 
this case) exist on the end-user's Win2k box? I think you had to install some 
extra package from Windows Update ("Chinese support for Internet Explorer or 
something like that) at least on my English Win2k to get them.
Comment 14 Luke Schierer 2004-11-14 15:10:49 UTC
Created attachment 33767 [details]
pango.alias file from affected user

from the user:
"The file 'pango.alias' is attached. I am not sure what exactly 	       
 
they are looking for. I see no section named 'Chinese', but I		       

do see Chinese fonts like 'simhei', 'simsun' are listed.		       

BTW, I have no issue browsing Chinese web sites with IE." --rodger_wang at
users dot sf