From owner-freebsd-hackers Wed Jul 17 13:47:00 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA18725 for hackers-outgoing; Wed, 17 Jul 1996 13:47:00 -0700 (PDT) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA18713 for ; Wed, 17 Jul 1996 13:46:42 -0700 (PDT) Received: by sequent.kiae.su id AA29982 (5.65.kiae-2 ); Thu, 18 Jul 1996 00:40:55 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Thu, 18 Jul 96 00:40:53 +0400 Received: (from ache@localhost) by nagual.ru (8.7.5/8.7.3) id AAA02479; Thu, 18 Jul 1996 00:40:05 +0400 (MSD) Message-Id: <199607172040.AAA02479@nagual.ru> Subject: Re: LC_CTYPE & XwcDrawString() trouble in FreeBSD-2.1.0R To: mihoko@pa.yokogawa.co.jp (=?ISO-2022-JP?B?GyRCRURDZkh+SmY7UhsoQg==?=) Date: Thu, 18 Jul 1996 00:40:04 +0400 (MSD) Cc: freebsd-hackers@freebsd.org, XFree86@XFree86.Org, kimura@pa.yokogawa.co.jp In-Reply-To: <199607160455.NAA02779@sapphire.pa.yokogawa.co.jp> from "[?ISO-2022-JP?]" at "Jul 16, 96 01:55:01 pm" From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL22 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm using FreeBSD-2.1.0R and XFree86-3.1.2 on my PC. > I have a trouble about 'XwcDrawString()'. > > The 'XwcDrawString()' function of X library can not draw strings > under LANG=lt_LN.ISO_8859-1 environment. > > I think this problem according to the below reason. > The wide charactor representation of FreeBSD is differrent from that > of X11R6. Wide characters not needed to represent 8859-1, it seems that your problem is that XFree86-3.1.2 not have aliases for FreeBSD locale names, i.e., FreeBSD locale name is: lt_LN.ISO_8859-1 ^ while XFree86 locale name is lt_LN.ISO8859-1 It is the bug into /usr/X11R6/lib/X11/locale/locale.alias, add following lines to it: da_DK.ISO_8859-1 da_DK.ISO8859-1 de_AT.ISO_8859-1 de_AT.ISO8859-1 de_CH.ISO_8859-1 de_CH.ISO8859-1 de_DE.ISO_8859-1 de_DE.ISO8859-1 en_AU.ISO_8859-1 en_AU.ISO8859-1 en_CA.ISO_8859-1 en_CA.ISO8859-1 en_GB.ISO_8859-1 en_GB.ISO8859-1 en_US.ISO_8859-1 en_US.ISO8859-1 es_ES.ISO_8859-1 es_ES.ISO8859-1 fi_FI.ISO_8859-1 fi_FI.ISO8859-1 fr_BE.ISO_8859-1 fr_BE.ISO8859-1 fr_CA.ISO_8859-1 fr_CA.ISO8859-1 fr_CH.ISO_8859-1 fr_CH.ISO8859-1 fr_FR.ISO_8859-1 fr_FR.ISO8859-1 is_IS.ISO_8859-1 is_IS.ISO8859-1 it_CH.ISO_8859-1 it_CH.ISO8859-1 it_IT.ISO_8859-1 it_IT.ISO8859-1 nl_BE.ISO_8859-1 nl_BE.ISO8859-1 nl_NL.ISO_8859-1 nl_NL.ISO8859-1 no_NO.ISO_8859-1 no_NO.ISO8859-1 pt_PT.ISO_8859-1 pt_PT.ISO8859-1 sv_SE.ISO_8859-1 sv_SE.ISO8859-1 -- Andrey A. Chernov http://www.nagual.ru/~ache/