From: "Вороватов Антон Сергеевич" <Vorovatov_AS@Nomos.ru>
To: community@altlinux.ru
Subject: [Comm] Re: [Comm] Антиалиасинг и FluxBox
Date: Tue, 8 Apr 2003 17:38:32 +0400
Message-ID: <3F7F1A918B4AD3119D150090272AA955015CBB64@FAETON> (raw)
вот что мне написали в 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
>
>
reply other threads:[~2003-04-08 13:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F7F1A918B4AD3119D150090272AA955015CBB64@FAETON \
--to=vorovatov_as@nomos.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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