Re: Russian Fonts for Gnome
On Thu, 12 Feb 2004 17:50:41 +0800 John Darrington (John) wrote: John> So let's check whether you see these fonts? John> try to run xfontsel and select, say, such font: John> -bitstream-bitstream vera sans mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1 John> I don't have the andale one, but I selected the Bitstream Vera Sans John> Mono font . Unfortunately my UTF-8 encoded russian text still John> displays as boxes. No-no! I tried for example the following: * created some utf-8 test file with gvim * started unicode xterm like uxterm -fn '-bitstream-bitstream vera sans mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1' * and tried to view the result cat test-utf8 but I sow squares only :( So may be there is something wrong with that terminals? When I used gnome-terminal and selected in menu Terminal -> Use coding -> UTF-8 and all is ok! So please describe how do you check the coding? -- Serge Olkhowik <[EMAIL PROTECTED]> ISD Configuration Management Team <[EMAIL PROTECTED]> test-utf8 Description: Binary data
Re: Russian Fonts for Gnome
On Thu, Feb 12, 2004 at 10:18:28AM +0200, Serge Olkhowik wrote: And what is the contents of /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType? Do you have Vera*.ttf files there? bash-2.05a$ ls /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/ encodings.dir fonts.scale VeraIt.ttfVeraMoIt.ttf VeraSe.ttf fonts.aliasVeraBd.ttf VeraMoBd.ttf VeraMono.ttf Vera.ttf fonts.dir VeraBI.ttf VeraMoBI.ttf VeraSeBd.ttf So let's check whether you see these fonts? try to run xfontsel and select, say, such font: -bitstream-bitstream vera sans mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1 Yes I can select that one (but it doesn't display any Russian glyphs). And next try to use gnome-terminal (uxterm works incorrectly :( ) and select 'Bitstream Vera Sans Mono' font and try to view any unicode (you have UTF-8 locale?) russian text. I have msttcorefonts package installed, so when selecting any font like -*-andale mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1 I can see russian glifs '?' in 3d line. I don't have the andale one, but I selected the Bitstream Vera Sans Mono font . Unfortunately my UTF-8 encoded russian text still displays as boxes. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://wwwkeys.pgp.net or any PGP keyserver for public key. pgpHZcA1q1Wuo.pgp Description: PGP signature
Re: Russian Fonts for Gnome
On Wed, 11 Feb 2004 19:49:55 +0800 John Darrington (John) wrote: John> xset q gives: John> Font Path: John> /home/john/.gnome2/share/cursor-fonts,unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/home/john/.gnome2/share/fonts And what is the contents of /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType? Do you have Vera*.ttf files there? John> This line wasn't there, so I added it and restarted X. John> Unfortunately it made no difference. So let's check whether you see these fonts? try to run xfontsel and select, say, such font: -bitstream-bitstream vera sans mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1 And next try to use gnome-terminal (uxterm works incorrectly :( ) and select 'Bitstream Vera Sans Mono' font and try to view any unicode (you have UTF-8 locale?) russian text. I have msttcorefonts package installed, so when selecting any font like -*-andale mono-medium-r-*-*-17-*-*-*-*-*-iso10646-1 I can see russian glifs 'АБВГД' in 3d line. -- Serge Olkhowik <[EMAIL PROTECTED]> ISD Configuration Management Team <[EMAIL PROTECTED]>
Re: Russian Fonts for Gnome
On Wed, Feb 11, 2004 at 01:41:04PM +0200, Serge Olkhowik wrote: John, I'm still not using UTF8 locale, so please try koi8-r? I tried both. Also I tried ISO-8859-5. None of them worked. Andrei> As for font environment in general, the output of following Andrei> commands are useful: Andrei> xset q Andrei> (the part related to Font Path) Andrei> and (if according to the default, the 1st part of the path is like Andrei> unix:/7100), the "catalogue" field from /etc/X11/fs/config. xset q gives: Font Path: /home/john/.gnome2/share/cursor-fonts,unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/home/john/.gnome2/share/fonts Of course, I forgot to ask you to check font path! So please describe FontPath options from your /etc/X11/XF86Config-4 file here. Do you have defoma installed? Yes. Ttf fonts are placed into separate place (not into /usr/lib/X11/fonts). For example, ttf-bistream-vera is installed into /usr/share/fonts/truetype/ttf-bitstream-vera/, and with defoma I set FontPath in /etc/X11/XF86Config-4 to: Section "Files" FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" This line wasn't there, so I added it and restarted X. Unfortunately it made no difference. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://wwwkeys.pgp.net or any PGP keyserver for public key. pgpSEYTLisSur.pgp Description: PGP signature
Re: Russian Fonts for Gnome
On Tue, 10 Feb 2004 21:04:30 +0300 (MSK) Andrei Demekhov (Andrei) wrote: >> LANG=ru_RU.UTF-8 >> GDM_LANG=ru_RU.UTF-8 Andrei> Hello. Maybe I have missed some earlier details, sorry if so. Andrei> relevance for the subject. Maybe you try to change the default Andrei> locale to ru_RU.KOI8-R. It seems easier and "more default" to John, I'm still not using UTF8 locale, so please try koi8-r? Andrei> As for font environment in general, the output of following Andrei> commands are useful: Andrei> xset q Andrei> (the part related to Font Path) Andrei> and (if according to the default, the 1st part of the path is like Andrei> unix:/7100), the "catalogue" field from /etc/X11/fs/config. Of course, I forgot to ask you to check font path! So please describe FontPath options from your /etc/X11/XF86Config-4 file here. Do you have defoma installed? Ttf fonts are placed into separate place (not into /usr/lib/X11/fonts). For example, ttf-bistream-vera is installed into /usr/share/fonts/truetype/ttf-bitstream-vera/, and with defoma I set FontPath in /etc/X11/XF86Config-4 to: Section "Files" FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" -- Serge Olkhowik <[EMAIL PROTECTED]> ISD Configuration Management Team <[EMAIL PROTECTED]>
Re: Russian Fonts for Gnome
On Mon, 9 Feb 2004, John Darrington wrote: > On Mon, Feb 09, 2004 at 01:25:20PM +0200, Serge Olkhowik wrote: > Could you describe us all your environment and soft versions? > > I'm using unstable and GTK-2 applications display me correct fonts. > > OK. Here's the spec of my kernel, X version and all the environment > variables. Is there anything else which you need to know ? > > Linux marilyn 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686 GNU/Linux > > LANG=ru_RU.UTF-8 > GDM_LANG=ru_RU.UTF-8 Hello. Maybe I have missed some earlier details, sorry if so. It seems only the two environment variables I left above MAY be of relevance for the subject. Maybe you try to change the default locale to ru_RU.KOI8-R. It seems easier and "more default" to set-up the language environment for KOI8-R. It was painless for me to use just set-language-env (from the language-env package). As for font environment in general, the output of following commands are useful: xset q (the part related to Font Path) and (if according to the default, the 1st part of the path is like unix:/7100), the "catalogue" field from /etc/X11/fs/config. Two more commands to obtain info useful for helping you are dpkg -l|fgrep font|fgrep and dpkg -l|fgrep language-env At last, did you try to launch an X term with manually specified font? xterm -fn 10x20-cyrillic & (this will use KOI8-r font). Some sysadmins in this maillist do use UTF-8, and there was some discussion of the subject here but I did not follow it. At last the package list search does not immediately yield a package with UTF-8 Cyrillic fonts. So try setting up in KOI8-R first and explore UTF option later on. Good luck! Andrei Demekhov * Dr. Andrei G. Demekhov Senior Scientist Institute of Applied Physics Russian Academy of Sciences 46, Ulyanov st. 603950 Nizhny Novgorod Russia =
Re: Russian Fonts for Gnome
On Mon, Feb 09, 2004 at 01:25:20PM +0200, Serge Olkhowik wrote: On Tue, 3 Feb 2004 16:30:46 +0800 John Darrington (John) wrote: John> Can someone tell me how to get Russian fonts to be displayed in John> testing. I don't use GNOME so I can help you only by your descriptions. Could you describe us all your environment and soft versions? I'm using unstable and GTK-2 applications display me correct fonts. OK. Here's the spec of my kernel, X version and all the environment variables. Is there anything else which you need to know ? Linux marilyn 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686 GNU/Linux name of display::0.0 version number:11.0 vendor string:The XFree86 Project, Inc vendor release number:4011 XFree86 version: 4.1.0.1 maximum request size: 4194300 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x1400010, revert to Parent number of extensions:28 BIG-REQUESTS DOUBLE-BUFFER DPMS Extended-Visual-Information FontCache GLX LBX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP XC-APPGROUP XC-MISC XFree86-Bigfont XFree86-DGA XFree86-Misc XFree86-VidModeExtension XIE XInputExtension XKEYBOARD XTEST XVideo default screen number:0 number of screens:1 screen #0: dimensions:1152x864 pixels (322x241 millimeters) resolution:91x91 dots per inch depths (7):24, 1, 4, 8, 15, 16, 32 root window id:0x31 depth of root window:24 planes number of colormaps:minimum 1, maximum 1 default colormap:0x20 default number of colormap cells:256 preallocated pixels:black 0, white 16777215 options:backing-store NO, save-unders NO largest cursor:32x32 current input event mask:0x5a20bd KeyPressMask ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask PointerMotionHintMask ButtonMotionMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask number of visuals:4 default visual id: 0x23 visual: visual id:0x23 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x24 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x25 class:DirectColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x26 class:DirectColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits PWD=/home/john XAUTHORITY=/home/john/.Xauthority WINDOWID=20971536 GROFF_FONT_PATH=/usr/share/groff/1.17.2/font/ SESSION_MANAGER=local/marilyn:/tmp/.ICE-unix/787 GDMSESSION=Gnome AEGIS_AUTOMOUNT_POINTS=/tmp_mnt:/a:/.automount USER=john MAIL=/var/mail/john OLDPWD=/home/john GNOME_DESKTOP_SESSION_ID=Default LANG=ru_RU.UTF-8 DISPLAY=:0.0 LOGNAME=john SHLVL=1 SSH_AGENT_PID=815 GDM_LANG=ru_RU.UTF-8 USERNAME=john SHELL=/bin/bash HOME=/home/john SSH_AUTH_SOCK=/tmp/ssh-XXr71V5i/agent.787 TERM=xterm PATH=/home/john/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games _=/usr/bin/env -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://wwwkeys.pgp.net or any PGP keyserver for public key. pgp00sLIdFRRt.pgp Description: PGP signature
Re: Russian Fonts for Gnome
On Tue, 3 Feb 2004 16:30:46 +0800 John Darrington (John) wrote: John> Can someone tell me how to get Russian fonts to be displayed in John> testing. John> I've tried installing dozens of Cyrillic font packages, but Russian John> text always shows as boxes. John> As I understand GNOME uses unicode ttf? John> Please try installing ttf-bitstream-vera package. I don't know about John> testing, but unstable (1.10-3) has russian glifs. John> I installed 1.10.3 but still see boxes. Do I have to do anything John> else? I don't use GNOME so I can help you only by your descriptions. Could you describe us all your environment and soft versions? I'm using unstable and GTK-2 applications display me correct fonts. -- Serge Olkhowik <[EMAIL PROTECTED]> ISD Configuration Management Team <[EMAIL PROTECTED]>
Re: Russian Fonts for Gnome
On Tue, Feb 03, 2004 at 09:04:12AM +0200, Serge Olkhowik wrote: On Sat, 24 Jan 2004 11:26:14 +0800 John Darrington (John) wrote: John> Sorry for the English. John> Can someone tell me how to get Russian fonts to be displayed in John> testing. John> I've tried installing dozens of Cyrillic font packages, but Russian John> text always shows as boxes. As I understand GNOME uses unicode ttf? Please try installing ttf-bitstream-vera package. I don't know about testing, but unstable (1.10-3) has russian glifs. I installed 1.10.3 but still see boxes. Do I have to do anything else? J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://wwwkeys.pgp.net or any PGP keyserver for public key. pgpzl7YoebS1r.pgp Description: PGP signature
Re: Russian Fonts for Gnome
On Sat, 24 Jan 2004 11:26:14 +0800 John Darrington (John) wrote: John> Sorry for the English. John> Can someone tell me how to get Russian fonts to be displayed in John> testing. John> I've tried installing dozens of Cyrillic font packages, but Russian John> text always shows as boxes. As I understand GNOME uses unicode ttf? Please try installing ttf-bitstream-vera package. I don't know about testing, but unstable (1.10-3) has russian glifs. -- Serge Olkhowik <[EMAIL PROTECTED]> ISD Configuration Management Team <[EMAIL PROTECTED]>
Re: Russian Fonts for Gnome
Hello. On Sat, Jan 24, 2004 at 11:26:14AM +0800, John Darrington wrote: > Can someone tell me how to get Russian fonts to be displayed in > testing. > > I've tried installing dozens of Cyrillic font packages, but Russian > text always shows as boxes. Which GNOME programs do you use? What locale settings do you have? I think that fonts is not you real problem, the problem is in another place. Anyway, here is my fonts: COLUMNS=200 dlocate -l '*font*' |awk '/^.i/{print $2}' console-data console-terminus console-tools defoma dfontmgr fontconfig fonty-rg fttools gsfonts gsfonts-x11 gucharmap libconsole libfontconfig1 libfreetype6 libfreetype6-dev libxft2 mftrace mplayer-fonts msttcorefonts pfaedit psfontmgr scalable-cyrfonts-tex t1-cyrillic t1-teams t1-xfree86-nonfree t1lib1 t1utils trscripts ttf-freefont ttf-thryomanes ttf-xfree86-nonfree ttmkfdir type1inst x-ttcidfont-conf xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base xfonts-base-transcoded xfonts-bolkhov-75dpi xfonts-bolkhov-cp1251-75dpi xfonts-bolkhov-cp1251-misc xfonts-bolkhov-koi8r-75dpi xfonts-bolkhov-koi8r-misc xfonts-bolkhov-misc xfonts-cronyx-100dpi xfonts-cronyx-75dpi xfonts-cronyx-cp1251-100dpi xfonts-cronyx-cp1251-75dpi xfonts-cronyx-cp1251-misc xfonts-cronyx-koi8r-100dpi xfonts-cronyx-koi8r-75dpi xfonts-cronyx-koi8r-misc xfonts-cronyx-misc xfonts-efont-unicode xfonts-efont-unicode-ib xfonts-intl-european xfonts-konsole xfonts-scalable xfonts-terminus xfs xfs-xtt -- Regards, Sasha. Alexandra N. Kossovsky, software engeneer. e-mail: [EMAIL PROTECTED]
Russian Fonts for Gnome
Sorry for the English. Can someone tell me how to get Russian fonts to be displayed in testing. I've tried installing dozens of Cyrillic font packages, but Russian text always shows as boxes. Thanks. -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://wwwkeys.pgp.net or any PGP keyserver for public key. pgp7Q03s2GE9j.pgp Description: PGP signature