Vadim Maslov (vadik@cs.umd.edu) rewrote Imakefile for the fonts, merged two font sets together and cleaned some unnecessary stuff out. This directory contains a number of KOI-8 and dome ALT fonts for X Windows (X11R5 preferred). Fonts are designed by Roustem Akhiarov, Sergey Ryzhkov and Lev Belov, Copyright (C) 1990, 1991 EWT Consulting. Converting to BDF was done by Serge Vakulenko. All fonts are public domain. You can yse them freely for noncommertial purposes. Serge Vakulenko, , Wed Mar 27 19:57:04 MSK 1991. This product is public domain. You can use it freely and redistribute it for noncommercial purposes. This product is distributed with NO WARRANTY! Authors shall not liable for damage resulting from use of given product. FONT CONTENTS ============= KOI-8 fonts ----------- koi6x10.bdf koi6x13.bdf koi8x13.bdf koi8x14.bdf koi8x16.bdf koi8x8.bdf koi9x15.bdf koi-8.bdf koinil2.bdf Fonts converted from MS Windows FNT files: Package is divided into five sets, each set has it's optimal XxY resolution ratio: Set A 96x48 dpi aspect ratio 2x1 Set B 96x72 dpi aspect ratio 4x3 Set C 60x72 dpi aspect ratio 5x6 Set D 120x72 dpi aspect ratio 5x3 Set E 96x96 dpi aspect ratio 1x1 There is list of fonts and their sizes: file name height xdpi ydpi Set A ------------------------------------ aspect ratio 2x1 lo01.bdf 12 96 48 96x48 dpi courac01.bdf 8 96 48 courac02.bdf 10 96 48 courac03.bdf 12 96 48 helvac01.bdf 8 96 48 helvac02.bdf 10 96 48 helvac03.bdf 12 96 48 helvac04.bdf 14 96 48 helvac05.bdf 18 96 48 helvac06.bdf 24 96 48 tmsrac01.bdf 8 96 48 tmsrac02.bdf 10 96 48 tmsrac03.bdf 12 96 48 tmsrac04.bdf 14 96 48 tmsrac05.bdf 18 96 48 tmsrac06.bdf 24 96 48 file name height xdpi ydpi Set B ------------------------------------ aspect ratio 4x3 hi01.bdf 12 96 72 96x72 dpi courbc01.bdf 8 96 72 courbc02.bdf 10 96 72 courbc03.bdf 12 96 72 helvbc01.bdf 8 96 72 helvbc02.bdf 10 96 72 helvbc03.bdf 12 96 72 helvbc04.bdf 14 96 72 helvbc05.bdf 18 96 72 helvbc06.bdf 24 96 72 tmsrbc01.bdf 8 96 72 tmsrbc02.bdf 10 96 72 tmsrbc03.bdf 12 96 72 tmsrbc04.bdf 14 96 72 tmsrbc05.bdf 18 96 72 tmsrbc06.bdf 24 96 72 file name height xdpi ydpi Set C ------------------------------------ aspect ratio 5x6 courcc01.bdf 8 60 72 60x72 dpi courcc02.bdf 10 60 72 courcc03.bdf 12 60 72 helvcc01.bdf 8 60 72 helvcc02.bdf 10 60 72 helvcc03.bdf 12 60 72 helvcc04.bdf 14 60 72 helvcc05.bdf 18 60 72 helvcc06.bdf 24 60 72 tmsrcc01.bdf 8 60 72 tmsrcc02.bdf 10 60 72 tmsrcc03.bdf 12 60 72 tmsrcc04.bdf 14 60 72 tmsrcc05.bdf 18 60 72 tmsrcc06.bdf 24 60 72 file name height xdpi ydpi Set D ------------------------------------ aspect ratio 5x3 courdc01.bdf 8 120 72 120x72 dpi courdc02.bdf 10 120 72 courdc03.bdf 12 120 72 helvdc01.bdf 8 120 72 helvdc02.bdf 10 120 72 helvdc03.bdf 12 120 72 helvdc04.bdf 14 120 72 helvdc05.bdf 18 120 72 helvdc06.bdf 24 120 72 tmsrdc01.bdf 8 120 72 tmsrdc02.bdf 10 120 72 tmsrdc03.bdf 12 120 72 tmsrdc04.bdf 14 120 72 tmsrdc05.bdf 18 120 72 tmsrdc06.bdf 24 120 72 file name height xdpi ydpi Set E ------------------------------------ aspect ratio 1x1 851401.bdf 12 96 96 96x96 dpi sq01.bdf 12 96 96 wy70001.bdf 12 96 96 courec01.bdf 8 96 96 courec02.bdf 10 96 96 courec03.bdf 12 96 96 helvec01.bdf 8 96 96 helvec02.bdf 10 96 96 helvec03.bdf 12 96 96 helvec04.bdf 14 96 96 helvec05.bdf 18 96 96 helvec06.bdf 24 96 96 tmsrec01.bdf 8 96 96 tmsrec02.bdf 10 96 96 tmsrec03.bdf 12 96 96 tmsrec04.bdf 14 96 96 tmsrec05.bdf 18 96 96 tmsrec06.bdf 24 96 96 All fonts are in roman style. There are no slanted, italic and bold fonts. Sorry. ALTernative encoding fonts -------------------------- alt6x10.bdf alt6x13.bdf alt8x13.bdf alt8x14.bdf alt8x16.bdf alt8x8.bdf alt9x15.bdf alt-8.bdf altnil2.bdf INSTALLATION ============ To install fonts, uncompress and untar the directory. Then check that you run X11 rev. 5 (not 4). It may be not easy. Ask your sysadmin. Type "which X" in tcsh. Sooner or later you will learn how to get version number from X. If you run revision lower than 5 than you can get into trouble. Then: 1. Type: xmkmf Makefile should appear. It is generated from Imakefile. 2. Type: make *.pcf files should appear. They are generated from *.bdf files. After this fonts are installed automatically on your system using sequence (run automatically from make): mkfontdir `pwd` xset fp default xset fp+ `pwd` xset fp rehash If "xset fp+ `pwd`" complains about something, then fonts are not installed and there is a problem that you need to fix. Most likely, you are trying to install fonts on machine on which you do not own the console and therefore the X server. Say, you are at console of machine adroit, and you login to machine elan using rlogin. Then You need to start this make on adroit, not on elan! Fonts will be installed only for duration of your X Windows session. If you want (and can) install fonts to X system directory permanently, then type "make install" instead of "make". X terminals and X emulators =========================== X terminals. Many people ask why they cannot install these fonts on X terminals. The answer is: because they try to install it not on X terminal itself, but rather on computer that they get connected to by means of X terminal. Going into detail, X terminal is a diskless computer whose sole function is to be an X server that you use. Since you should say "xset fp+ ..." *only to your X server* and since operating system of X terminal is usually invisible to the user, it may be difficult to add cyrillic fonts to X terminal. The right course of action is to read manual for your specific X term and find out how fonts are added to it, and do as it says (yeah, guys and gals, read manuals, it helps more often than people think). PCs with X emulation. Yet another kind of X terminal. I have one at work. Again, saying "xset fp+ ..." will not work, since PCs (the ones running MSDOS) do not have shell and hey do not have xset and all other UNIX stuff. But Xconfig has a Fonts section that you can use to add new fonts. Also eXceed (X emulator used at our company) can convert *.bdf files to its own font format. INSTALLATION PROBLEMS --> MANUAL INSTALLATION ============================================= xmkmf does not always work, because people have old version of it. Particularly, it does not recognize FontObject() in Imakefile. If this happens then be prepared to get a new version of xmkmf and/or imake or to run font conversion commands manually. 1. If you install fornts for X11R5, then for every font you want to install run command: bdftopcf -t font.bdf -o font.pcf After that run commands: mkfontdir `pwd` xset fp default xset fp+ `pwd` xset fp rehash 2. If you install fonts for X11R4, then for every font run command: bdftosnf -t font.bdf -o font.snf Then run the commands: mkfontdir `pwd` xset fp default xset fp+ `pwd` xset fp rehash 3. If your work with SUN OpenWindows, then run: convertfont -b *.bdf converts .BDF X11 fonts to .FB X11/NewS fonts bldfamily makes Families.list file (advice by manin@camelot.rockefeller.edu (Dmitrii Manin)) xset fp default xset fp+ `pwd` xset fp rehash SETTING KEYBOARD MAPPINGS ========================= To install cyrillic keyboard table, run: % xmodmap jcuken.iso.xmm Caps Lock switches to cyrillics and back. Layout of cyrillic letters is similar to russian typewriter (JCUKEN). To uninstall cyrillic keyboard map, and restore meaning of Caps Lock, use: % xmodmap default.xmm JCUKEN is the most popular layout in SU. But if you are not familiar with JCUKEN, you can use YAWERTY: % xmodmap yawerty.xmm Cyrillic letters will be placed on keys of similar latin letters. Following table contains summary of keyboard layouts. --------------------------------------------- | English Russian Mixed | | keyboard keyboard keyboard | | | | qwerty jcuken yawerty | |-------------------------------------------| | q Q i-short I-short ya Ya | | w W tse Tse ve ve | | e E u U ie Ie | | r R ka Ka ar Er | | t T ie Ie te Te | | y Y en En iery Iery | | u U ghe Ghe u U | | i I sha Sha i I | | o O shcha Shcha o O | | p P z Z pe Pe | | a A ef Ef a A | | s S iery Iery es Es | | d D ve ve de De | | f F a A ef Ef | | g G pe Pe ge Ge | | h H er Er kha Kha | | j J o O i-short I-short | | k K el El ka Ka | | l L de De el El | | z Z ya Ya z Z | | x X che Che ierik Ierik | | c C es Es tse Tse | | v V em Em zhe Zhe | | b B i I be Be | | n N te Te en En | | m M ierik Ierik em Em | | | | [ { kha Kha sha Sha | | ] } ier Ier shcha Shcha | | ; : zhe Zhe | | ' " e-rev E-rev | | , < be Be | | . > yu Yu | | ` ~ yu Yu | | 3 # 3 3 ier | | 4 $ 4 ; 4 Ier | | 5 % 5 : | | 6 ^ 6 , | | 7 & 7 . | | = + che Che | | \ | e-rev E-rev | --------------------------------------------- Comments: Ierik is a soft-sign. Ier is a hard-sign. Iery is bI. .rlogin SHELL SCRIPT SUGGESTIONS ================================ If you haven't made your sysadmin to install cyrillic fonts from this distribution on the system, then you have to install them every time you log on. Also you have to change keyboard mapping every time you log on. This is best done by the following shell script that you start from .xinitrc: cd DIRECTORY_WHERE_YOU_HAVE_THESE_CYRILLIC_FONTS make xmodmap yawerty.koi8.xmm You may also want to add to your .cshrc or .shrc files command: stty pass8 or stty cs8 for AT&T UNIX This command makes your shell pass along 8-bit characters. You need this only if you type Russian letters (CAPS_LOCK on) in shell. Vadim Maslov, vadik@cs.umd.edu