Bug#296719: xlibs-data: zh_TW.UTF-8/XLC_LOCALE is broken after upgrading 4.3.0.dfsg.1-6 to 4.3.0.dfsg.1-7
Denis Barbier wrote:
On Sun, Apr 03, 2005 at 01:19:20AM +0800, Tetralet wrote:
After upgrade xlibs-data to 4.3.0.dfsg.1-12,
We think that this problem was fixed.
But we find that /usr/X11R6/lib/X11/locale/ja_JP.UTF-8/XLC_LOCALE is
broken, too.
Please consider to fix it. Thanks!
Do you have a patch?
Denis
The attached file is the correct
/usr/X11R6/lib/X11/locale/ja_JP.UTF-8/XLC_LOCALE.
It was extracted form xlibs-data_4.3.0.dfsg.1-6_all.deb.
You may test it by editing /etc/gtk/gtkrc.utf-8:
style "default-text" {
fontset = "-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1,\
-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1"
}
class "GtkWidget" style "default-text"
And run (please ensure that you have generated ja_JP.UTF-8 locale and
installed "unifont" package.)
LC_ALL=ja_JP.UTF-8 xmms
If the /usr/X11R6/lib/X11/locale/ja_JP.UTF-8/XLC_LOCALE were not correct,
You may see the menus in xmms are all illegible codes.
BTW, the md5sum of the attached file ja_JP.UTF-8_XLC_LOCALE is
f0743bd47913580e413f1e9d393fd01e.
Regards,
Tetralet
# $XFree86: xc/nls/XLC_LOCALE/ja_JP.UTF-8,v 1.1 2002/10/17 01:12:57 dawes Exp $
#
#
# XLC_FONTSET category
#
XLC_FONTSET
on_demand_loading True
object_name generic
# We leave the legacy encodings in for the moment, because we don't
# have that many ISO10646 fonts yet.
# fs0 class (7 bit ASCII)
fs0 {
charset {
name ISO8859-1:GL
}
font {
primary ISO8859-1:GL
vertical_rotate all
}
}
# fs1 class (ISO8859 families)
fs1 {
charset {
name ISO8859-1:GR
}
font {
primary ISO8859-1:GR
}
}
# ISO10646-1 is put after iso8859-1 to make usually better-looking
# iso8859-x fonts are picked up before iso10646-1 fonts.
# Moreover, some iso10646-1 fonts don't have any glyph at all
# in ISO8859-X ranges.
# fs2 class
fs2 {
charset {
name ISO10646-1
}
font {
primary ISO10646-1
}
}
# fs3 class (Kanji)
fs3 {
charset {
name JISX0208.1983-0:GL
}
font {
primary JISX0208.1983-0:GL
}
}
# fs4 class (Korean Character)
fs4 {
charset {
name KSC5601.1987-0:GL
}
font {
primary KSC5601.1987-0:GL
}
}
# fs5 class (Chinese Han Character)
fs5 {
charset {
name GB2312.1980-0:GL
}
font {
primary GB2312.1980-0:GL
}
}
# fs6 class (Half Kana)
fs6 {
charset {
name JISX0201.1976-0:GR
}
font {
primary JISX0201.1976-0:GR
vertical_rotate all
}
}
END XLC_FONTSET
#
# XLC_XLOCALE category
#
XLC_XLOCALE
encoding_name UTF-8
mb_cur_max 6
state_depend_encoding False
# cs0 class
cs0 {
side GL:Default
length 1
ct_encoding ISO8859-1:GL
}
# cs1 class
cs1 {
side GR:Default
length 1
ct_encoding ISO8859-1:GR
}
# cs2 class
cs2 {
side GR
length 2
ct_encoding JISX0208.1983-0:GL; JISX0208.1983-0:GR; JISX0208.1983-1:GL; JISX0208.1983-1:GR
}
# cs3 class
cs3 {
side GL
length 2
ct_encoding KSC5601.1987-0:GL; KSC5601.1987-0:GR; KSC5601.1987-1:GL; KSC5601.1987-1:GR
}
# cs4 class
cs4 {
side GR
length 2
ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR
}
# cs5 class
cs5 {
side GR
length 1
ct_encoding JISX0201.1976-0:GR
}
# cs6 class
cs6 {
side none
ct_encoding ISO10646-1
}
END XLC_XLOCALE
Reply to: