Re: Cyrillic fonts in X Window. (fwd)
Actually I cannot get it to work also with xterm*locale: true. But never mind, because having solved the cyrillic input I would have to solve the chinese input, which I also need, and in xterm seems to be quite problematic to have all of this together (scim input does seem to work only with gtk or qt apps, or course there is uim...). This is why I use roxterm instead, where everything works out of the box. Thank you anyway On Sun, 6 Sep 2009, 4625 wrote: On Sun, 06 Sep 2009 13:00:04 +0400 Kaltashkin Eugene zhe...@gmail.com wrote: try run xterm -fn koi9x15 -rv As I told before (see my reply to shweg...@...), 'XTerm*locale: true' in ~.Xdefaults will be enough to solve the problem with cyrillic in xterm. Anyway, thanks for reply. -- xorg.conf -- Section InputDevice Identifier keyboard Driver kbd ... -- xorg.conf -- 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
Re: Cyrillic fonts in X Window. (fwd)
Those of us using keymaps not being listed in base have similar problem. I use setxkbmap command for X, namely: $setxkbmap us $setxkbmap hr $setxkbmap sr So I can switch back from Serbian / Croatian to US keyboard once I need to type the command that should be understood by the system. On 9/7/09, shweg...@gmail.com shweg...@gmail.com wrote: Actually I cannot get it to work also with xterm*locale: true. But never mind, because having solved the cyrillic input I would have to solve the chinese input, which I also need, and in xterm seems to be quite problematic to have all of this together (scim input does seem to work only with gtk or qt apps, or course there is uim...). This is why I use roxterm instead, where everything works out of the box. Thank you anyway On Sun, 6 Sep 2009, 4625 wrote: On Sun, 06 Sep 2009 13:00:04 +0400 Kaltashkin Eugene zhe...@gmail.com wrote: try run xterm -fn koi9x15 -rv As I told before (see my reply to shweg...@...), 'XTerm*locale: true' in ~.Xdefaults will be enough to solve the problem with cyrillic in xterm. Anyway, thanks for reply. -- xorg.conf -- Section InputDevice Identifier keyboard Driver kbd ... -- xorg.conf -- 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
Re: Cyrillic fonts in X Window. (fwd)
try run xterm -fn koi9x15 -rv -- xorg.conf -- Section InputDevice Identifier keyboard Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout us,ru Option XkbOptions grp:ctrl_shift_toggle Option XkbVariant ,winkeys -- xorg.conf -- 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
Re: Cyrillic fonts in X Window. (fwd)
On Sun, 06 Sep 2009 13:00:04 +0400 Kaltashkin Eugene zhe...@gmail.com wrote: try run xterm -fn koi9x15 -rv As I told before (see my reply to shweg...@...), 'XTerm*locale: true' in ~.Xdefaults will be enough to solve the problem with cyrillic in xterm. Anyway, thanks for reply. -- xorg.conf -- Section InputDevice Identifier keyboard Driver kbd ... -- xorg.conf -- 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
Re: Cyrillic fonts in X Window. (fwd)
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. On Sat, 5 Sep 2009, 4625 wrote: This problem still exist yet. I see no advices. -- 4625 -- Forwarded message -- Date: Fri, 31 Jul 2009 20:52:25 + 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
Re: Cyrillic fonts in X Window. (fwd)
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. On Sat, 5 Sep 2009, 4625 wrote: On Sat, 5 Sep 2009 21:31:52 +0800 (CST) shweg...@gmail.com wrote: 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 + 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
Re: Cyrillic fonts in X Window. (fwd)
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 + 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
Cyrillic fonts in X Window. (fwd)
This problem still exist yet. I see no advices. -- 4625 -- Forwarded message -- Date: Fri, 31 Jul 2009 20:52:25 + 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