On Sun, 6 Sep 2009 10:54:51 +0800 (CST)
shweg...@gmail.com wrote:

> Well, I could never get cyrillic to work in xterm either, but only in
> gtk or qt apps. I don't know why it is, maybe it has to do with the
> lack of locale. So I just gave up long ago trying to use xterm
> (mlterm has the same issue) for this.
> Sorry I cannot be of any better help.
> If anybody know how to solve this I'd be very interested to know too.

Anyway, thanks for to pay attention to.

DESCRIPTION
       xlsfonts lists the fonts that match the given pattern.

And  command 'xlsfonts "*koi8-r*"' will display 962 matched items (for
example '-cronyx-helvetica-medium-o-normal--18-180-75-75-p-98-koi8-r')
which one, I assume, should be available for any apps. If so, then why
xterm may does not display cyrillic in case when 'xterm*faceName' option
given in ~/.Xdefaults? Finally, I have found the answer!

xterm*faceName: courier
xterm*faceSize: 22
XTerm*locale: true
XTerm.vt220.renderFont: true

Someone, please add this issue to FAQ.

> >> On my system, to use cyrillic in X I did not add any cyrillic
> >> fonts, but just these lines in xorg.conf (InputDevice section):
> >>
> >>          Option          "XkbLayout" "us,ru(winkeys),de"
> >>          Option          "XkbOptions" "grp:lwin_toggle"
> >>          Option          "XkbVariant" "nodeadkeys"
> >>
> >> This way you can toggle the russian keyboard with the left Windows
> >> key. It does not work with xterm just like that, you need uxterm or
> >> you can use roxterm or gnome-terminal etc.
> >
> > I'm trying to use TrueType fonts for xterm. The problem is xterm
> > does not display cyrillic correctly. However, in the same time,
> > almost all gtk and qt apps display cyrillic correctly.
> >
> >>> This problem still exist yet. I see no advices.
> >>>
> >>> ---------- Forwarded message ----------
> >>> Date: Fri, 31 Jul 2009 20:52:25 +0000
> >>> To: misc@openbsd.org
> >>> Subject: Cyrillic fonts in X Window.
> >>>
> >>> I have add string 'FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"'
> >>> into xorg.conf, then I execute fc-cache. However, these fonts
> >>> unavailable in X. What is going wrong?
> >>>
> >>> fc-cache -v
> >>> Fontconfig error: Cannot load default config file
> >>> /usr/X11R6/lib/X11/fonts/TTF: skipping, 23 fonts, 0 dirs
> >>> /usr/X11R6/lib/X11/fonts/Type1: skipping, 29 fonts, 0 dirs
> >>> /usr/X11R6/lib/X11/fonts/cyrillic: skipping, 0 fonts, 0 dirs
> >
> > -- 
> > 4625
> >


-- 
4625

Reply via email to