Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46392 - changes the fontset order in XLC_LOCALE for UTF-8 locale
Summary: changes the fontset order in XLC_LOCALE for UTF-8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 12:22 UTC by Kang-Ho Song
Modified: 2004-04-14 18:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
XFree86-4.3.0-nls-cjk-utf8 (XFree86-4.3.0-nls-cjk-utf8.patch,10.34 KB, patch)
2004-03-31 14:26 UTC, Kang-Ho Song
Details | Diff
the patch file for CJK locale (XFree86-4.3.0-nls-cjk-utf8.patch,9.99 KB, patch)
2004-04-12 03:20 UTC, Kang-Ho Song
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kang-Ho Song 2004-03-31 12:22:05 UTC
The localized strings can't be displayed using the Core X window system fonts on UTF-8 locale so that we don't have the complete ISO10646 fonts. the fontset order which is written in XLC_LOCALE is basically prior ISO8859-1 rather than ISO10646. but another legacy charsets are low priority.  So the ISO1646 must be the lowest priority than other legacy charsets until we will get the full supported ISO10646 font at least.
------

I copied the above from http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=101377 .
As I know, Fedora has adopted this patch already, and XFree 4.4.0 too.

Reproducible: Always
Steps to Reproduce:
Comment 2 Kang-Ho Song 2004-03-31 14:26:12 UTC
Created attachment 28469 [details, diff]
XFree86-4.3.0-nls-cjk-utf8

I've edited the original patch file to fit on xfree-4.3.0-r5.
But it seems more edit is needed on XFree86-locale.alias.bz2 and
XFree86-locale.dir.bz2.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-01 16:09:51 UTC
I'll add a complete fix if you've got one -- we're just about to remove 4.3.0-r6 from hard mask. Can you get the other issues you mentioned fixed by the end of the weekend?
Comment 4 Kang-Ho Song 2004-04-01 20:06:52 UTC
This patch file also patches the "compose.dir, locale.dir, and locale.alias" files in the "xc/nls" directory.
But during emerging the xfree package, XFree86-compose.dir-0.1.bz2 replaces the compose.dir" and XFree86-locale.alias.bz2 replaces "locale.alias". XFree86-locale.dir.bz2 replaces "local.dir" too.
Well, I'm not so sure that it's ok whether those files(compose.dir, locale.dir, locale.alias) could not be patched or those 3 files could not be replaced.
So I have tried xfree in both ways today.
I replaced those 3 files with *.bz2 files, and I ran xfree. There was no problem.
And I did not replace those 3 files. There was no problme too.
Which do you think is better?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-06 14:23:42 UTC
The easy fix for that is unpacking the three files before the epatch line. I'll take a look at it soon.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-11 22:30:53 UTC
I've moved the unpacking earlier in the ebuild so patches will apply properly to those files. Could you please supply a patch that applies cleanly?
Comment 7 Kang-Ho Song 2004-04-12 03:20:41 UTC
Created attachment 29125 [details, diff]
the patch file for CJK locale

The patch file has been changed a little as compared with the before thing.
I'm not so confident it's perfect. There is big difference between the source
files and the 3 *.bz2 files.

But I think it will work well.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-13 08:56:12 UTC
This is in patchset 2.1.26.16. As of that patchset, to check your version run xdpyinfo | grep vendor.

donnie@supernova xfree $ xdpyinfo | grep vendor
vendor string:    Gentoo Linux (The X.Org Foundation 6.7.0, revision r0-0.5)

The last string (0.5) is patchset.

Please confirm it's working.
Comment 9 Kang-Ho Song 2004-04-14 17:15:45 UTC
Sorry for my late feedback.
My linux box has low performance, so it took so long to emerge new xfree.
I've emerged the xfree-4.3.0-r6 package in the portage.
Well, though it had some problems, as for the fontset order, it works like a charm.
                                                                                
I've tried the new xfree under both ko_KR.UTF-8 and ja_JP.UTF8 locale.
                                                                                
$ xdpyinfo |grep vendor
vendor string:    Gentoo Linux (The XFree86 Project, Inc 4.3.0, revision r6-2.1.26.16)
vendor release number:    40300001
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-14 18:14:37 UTC
Could you please file bugs for the other problems?

Thanks for helping out with this.