From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3F7F1A918B4AD3119D150090272AA955015CBB64@FAETON> From: =?koi8-r?Q?=F7=CF=D2=CF=D7=C1=D4=CF=D7_=E1=CE=D4=CF=CE_=F3=C5=D2=C7?= =?koi8-r?Q?=C5=C5=D7=C9=DE?= To: community@altlinux.ru Date: Tue, 8 Apr 2003 17:38:32 +0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Subject: [Comm] =?koi8-r?Q?Re=3A_=5BComm=5D_=E1=CE=D4=C9=C1=CC=C9=C1=D3=C9=CE=C7?= =?koi8-r?Q?_=C9_FluxBox?= Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: =D7=CF=D4 =DE=D4=CF =CD=CE=C5 =CE=C1=D0=C9=D3=C1=CC=C9 =D7 = fluxbox-users > -----Original Message----- > From: Oliver Oberdorf [mailto:oberdorf@earthlink.net] > Sent: Tuesday, April 08, 2003 5:33 PM > To: =F7=CF=D2=CF=D7=C1=D4=CF=D7 =E1=CE=D4=CF=CE = =F3=C5=D2=C7=C5=C5=D7=C9=DE > Cc: fluxbox-users > Subject: Re: [Fluxbox-users] Fonts question >=20 >=20 > =F7=CF=D2=CF=D7=C1=D4=CF=D7 =E1=CE=D4=CF=CE = =F3=C5=D2=C7=C5=C5=D7=C9=DE wrote: >=20 > >Hi all > >Is there a way to use a different from default encoding in a=20 > fluxbox theme > >along with antialiasing? I personally need to use koi8-r and=20 > it's possible > >to set it in a line like *Font:=20 > -*-verdana-medium-r-*-*-10-[some *]-koi8-r > >but as far as i have noticed, another font setting style is=20 > used, when > >antialiasing is turned on, like *.font: Verdana:size=3D10. How=20 > can i specify > >encoding this way? > > > > =20 > > > OK, it's been quite a while since I've used fluxbox, so I may be=20 > completely wrong about this: >=20 > Xft uses Unicode rather than the various encodings. So there's no=20 > concept of an encoding, per se, instead it draws from a set of fonts=20 > based on the "language" of the Unicode characters it is given. >=20 > Prior to passing a string to Xft, it would need to be=20 > converted to Unicode. >=20 > I notice that src/FbTk/XftFontImp.cc has XftDrawStringUtf8 call, so I = > would try converting your menus etc. to UTF-8 encoding. =20 > Also, that Xft=20 > call only happens if HAVE_XFT_UTF8_STRING is also defined - maybe a=20 > configure option? To convert the files, you may edit a copy normally = > (perhaps menu.koi8) and then use iconv to generate a UTF-8=20 > menu for Fluxbox. >=20 > I have no vote as a non-user, but I'd suggest it would be nice if=20 > Fluxbox detected the locale from environment variables and did the=20 > conversion to Unicode for you. You would look at LC_CTYPE=20 > followed by=20 > LC_ALL >=20 > -Oly >=20 >=20