[Comm] Re: [Comm] Антиалиасинг и FluxBox

Вороватов Антон Сергеевич =?iso-8859-1?q?Vorovatov=5FAS_=CE=C1_Nomos=2Eru?=
Вт Апр 8 17:38:32 MSD 2003


вот что мне написали в fluxbox-users

> -----Original Message-----
> From: Oliver Oberdorf [mailto:oberdorf на earthlink.net]
> Sent: Tuesday, April 08, 2003 5:33 PM
> To: Вороватов Антон Сергеевич
> Cc: fluxbox-users
> Subject: Re: [Fluxbox-users] Fonts question
> 
> 
> Вороватов Антон Сергеевич wrote:
> 
> >Hi all
> >Is there a way to use a different from default encoding in a 
> fluxbox theme
> >along with antialiasing? I personally need to use koi8-r and 
> it's possible
> >to set it in a line like *Font: 
> -*-verdana-medium-r-*-*-10-[some *]-koi8-r
> >but as far as i have noticed, another font setting style is 
> used, when
> >antialiasing is turned on, like *.font: Verdana:size=10. How 
> can i specify
> >encoding this way?
> >
> >  
> >
> OK, it's been quite a while since I've used fluxbox, so I may be 
> completely wrong about this:
> 
> Xft uses Unicode rather than the various encodings.  So there's no 
> concept of an encoding, per se, instead it draws from a set of fonts 
> based on the "language" of the Unicode characters it is given.
> 
> Prior to passing a string to Xft, it would need to be 
> converted to Unicode.
> 
> I notice that src/FbTk/XftFontImp.cc has XftDrawStringUtf8 call, so I 
> would try converting your menus etc. to UTF-8 encoding.  
> Also, that Xft 
> call only happens if HAVE_XFT_UTF8_STRING is also defined - maybe a 
> configure option?  To convert the files, you may edit a copy normally 
> (perhaps menu.koi8) and then use iconv to generate a UTF-8 
> menu for Fluxbox.
> 
> I have no vote as a non-user, but I'd suggest it would be nice if 
> Fluxbox detected the locale from environment variables and did the 
> conversion to Unicode for you.  You would look at LC_CTYPE 
> followed by 
> LC_ALL
> 
> -Oly
> 
> 



Подробная информация о списке рассылки community