ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re: [Comm] Антиалиасинг и FluxBox
@ 2003-04-08 13:38 Вороватов Антон Сергеевич
  0 siblings, 0 replies; only message in thread
From: Вороватов Антон Сергеевич @ 2003-04-08 13:38 UTC (permalink / raw)
  To: community

вот что мне написали в 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
> 
> 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-08 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 13:38 [Comm] Re: [Comm] Антиалиасинг и FluxBox Вороватов Антон Сергеевич

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git