README.Lat2-Terminus16 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. Contents:
  2. 1. About.
  3. 1.1. Quick installation.
  4. 1.2. Recommended modes.
  5. 1.3. Legend.
  6. 1.4. Variants.
  7. 1.5. Notes.
  8. 2. Linux console.
  9. 2.1. consoletools.
  10. 2.2. kbd.
  11. 2.3. Quick reference.
  12. 2.4. Legend.
  13. 2.5. Notes.
  14. 3. UNIX console.
  15. 3.1. bsd-pcvt.
  16. 3.2. Legend.
  17. 3.3. Notes.
  18. 4. X11 Window System.
  19. 4.1. Installation.
  20. 4.2. Notes.
  21. 5. Frequently Asked Questions.
  22. 6. Bugs.
  23. 7. Legal information.
  24. 7.1. License.
  25. 7.2. Copyright.
  26. 1. About.
  27. This archive contains source code for generating and installing Terminus
  28. Font for Linux console, UNIX console and X11 Window System.
  29. - version 4.20
  30. - sizes 6x12, 8x14, 8x16, 10x20, 12x24, 14x28, 16x32
  31. - styles normal, bold, EGA/VGA bold
  32. - code pages ISO10646-1
  33. - characters 690
  34. - format Bitmap Distribution Format (BDF) version 2.1
  35. The character set covers ISO8859-1/2/5/9/13/15/16, IBM-437/852/855/866,
  36. Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F, Paratype-PT154/PT254,
  37. Bulgarian-MIK, Macintosh-Ukrainian, Esperanto and many others (a total of
  38. about 110 language sets). Also included are the IBM VGA, vt100 and xterm
  39. pseudographic characters.
  40. 1.1. Quick installation.
  41. The commands:
  42. $ ./configure [--prefix=PREFIX]
  43. $ make
  44. # make install
  45. compile and install the Linux console and X11 Window System fonts, and
  46. # make fontdir
  47. updates fonts.dir for X11 (if you don't know what fonts.dir is, execute the
  48. command).
  49. 1.2. Recommended modes.
  50. Obviously, the larger and better a monitor is, the higher modes (with the
  51. respective rates) can be used, and the more text may fit on the screen while
  52. remaining comfortably readable - and vice versa. As a comparison base, it is
  53. considered normal to use 640x480 and 800x600 modes with font size 8x16 and
  54. 10x20 respectively (that is, 80 columns by 30 lines) on 14" and 15" CRT
  55. monitors.
  56. Use modes that match your display ratio. Most personal computer monitors are
  57. 4:3, so use 1280x960 (4:3) instead of 1280x1024 (5:4) if possible. The
  58. EGA/VGA text modes are 720x400 (9:5), but the font (i.e. sizes 8x14 and
  59. 8x16) is designed to work with them.
  60. 1.3. Legend.
  61. The file names are structured as follows:
  62. ter-u<SIZE><STYLE>.bdf
  63. where <SIZE> is 12, 14, 16, 20, 24, 28 or 32, and <STYLE> is n for normal
  64. (all sizes), b for bold (all sizes except 6x12) and v for EGA/VGA bold (8x14
  65. and 8x16 only, makes use of the eight character matrix column).
  66. 1.4. Variants.
  67. Some characters are implemented in two variants. The alternate variants are
  68. on the font WEB page. To use a variant, download it and execute:
  69. zcat terminus-font-<VERSION>-<NAME>.diff.gz | patch -p1
  70. before installation. <VERSION> is the font version and <NAME> identifies the
  71. variant.
  72. 1.5. Notes.
  73. The commands marked with $ can be executed by a regular user.
  74. The configure commands are optional.
  75. Almost all characters which are not part of the code pages listed above are
  76. available on X11/ISO10646-1 only (UTF+8/Unicode).
  77. 2. Linux console.
  78. - sizes 6x12, 8x14, 8x16, 12x24, 10x20, 14x28 and 16x32
  79. - styles normal, bold, framebuffer-bold
  80. - code pages ISO8859-1/ISO8859-15/Windows-1252, ISO8859-2/Windows-1250,
  81. Windows-1251/ISO8859-5, ISO8859-9/Windows-1254, ISO8859-16,
  82. ISO8859-13/Windows-1257, IBM-437, Bulgarian-MIK, KOI8-R,
  83. KOI8-U, Paratype-PT154, combined
  84. - characters 582
  85. - format PC Screen Font (PSF) with unicode data
  86. 2.1. consoletools.
  87. $ ./configure [--prefix=PREFIX | --psfdir=DIRECTORY]
  88. $ make psf
  89. # make install-psf
  90. The files are compressed with gzip and installed in DIRECTORY. If DIRECTORY
  91. does not exist, it is created. The default PREFIX is /usr. The default
  92. DIRECTORY is PREFIX/share/consolefonts. Requires Perl.
  93. If you don't have mappings for Windows-1252/1250/1251/1254/1257, ISO8859-16,
  94. IBM-437, KOI8-R, Bulgarian-MIK or Paratype-PT154/PT254, also run:
  95. $ ./configure [--prefix=PREFIX | --acmdir=DIRECTORY]
  96. $ make txt
  97. # make install-acm
  98. The default DIRECTORY is PREFIX/share/consoletrans. Requires awk.
  99. Uninstallation of the mappings is not supported. To load a font:
  100. $ consolechars [-m MAPPING] -f ter-<X><SIZE><STYLE>
  101. where <X> is a character identifying the code page as listed in p.2.4.
  102. 2.2. kbd.
  103. $ ./configure [--psfdir=DIRECTORY]
  104. $ make psf
  105. # make install-psf
  106. where DIRECTORY should be either PREFIX/lib/kbd/consolefonts or
  107. PREFIX/share/kbd/consolefonts, depending on kbd version, and PREFIX is
  108. usually /usr. The missing mappings are installed with:
  109. $ ./configure [--prefix=PREFIX | --unidir=DIRECTORY]
  110. $ make txt
  111. # make install-uni
  112. The default DIRECTORY is PREFIX/share/kbd/consoletrans. Requires awk. To
  113. load a font:
  114. $ setfont [-m MAPPING] ter-<X><SIZE><STYLE>
  115. where <X> is a character identifying the code page as listed in p.2.4.
  116. 2.3. Quick reference.
  117. $ ./configure [--prefix=PREFIX | --psfdir=DIRECTORY | --ref=FILENAME]
  118. # make install-ref
  119. Installs the text from p.2.4. as FILENAME (the default is README.terminus)
  120. in DIRECTORY.
  121. 2.4. Legend.
  122. names mappings covered codepage(s)
  123. ter-1* iso01, iso15, cp1252 ISO8859-1, ISO8859-15, Windows-1252
  124. ter-2* iso02, cp1250 ISO8859-2, Windows-1250
  125. ter-9* iso09, cp1254 ISO8859-9, Windows-1254
  126. ter-c* cp1251, iso05 Windows-1251, ISO8859-5
  127. ter-d* iso13, cp1257 ISO8859-13, Windows-1257
  128. ter-g* iso16 ISO8859-16
  129. ter-i* cp437 IBM-437
  130. ter-k* koi8r KOI8-R
  131. ter-m* mik Bulgarian-MIK
  132. ter-p* pt154 Paratype-PT154
  133. ter-u* koi8u KOI8-U
  134. ter-v* all listed above, all listed above, Paratype-PT254,
  135. pt254 etc. (if you Macintosh-Ukrainian, KOI8-U/E/F and
  136. have such mappings) IBM-852/855/866, 8 foreground colors
  137. names style
  138. ter-*n normal
  139. ter-*b bold
  140. ter-*f framebuffer-bold
  141. 2.5. Notes.
  142. The combined code page is based on IBM-437 (character 0xFF is ogonek).
  143. The ISO8859-16 font also includes all letters and accents from Windows-1250.
  144. The Linux kernel 2.4 framebuffers support widths 8, 12 and 16 only; kernel
  145. 2.6 and a relevant framebuffer are required to use the other sizes.
  146. 3. UNIX console.
  147. - sizes 8x14, 8x16
  148. - styles normal, bold, framebuffer-bold
  149. - code pages ISO8859-1/Windows-1252, ISO8859-2, ISO8859-5, ISO8859-9,
  150. ISO8859-9/Windows-1254, ISO8859-13, ISO8859-15, ISO8859-16,
  151. IBM-437, KOI8-R, KOI8-U, Paratype-PT154
  152. - characters 542
  153. - format raw data
  154. 3.1. bsd-pcvt.
  155. $ ./configure [--prefix=PREFIX | --rawdir=DIRECTORY]
  156. $ make raw
  157. # make install.raw
  158. or, for file names with minus instead of period:
  159. # make install-raw
  160. The default DIRECTORY is PREFIX/share/misc/pcvtfonts. The fonts are
  161. installed uncompressed. Requires Perl. To load a font:
  162. $ loadfont -f /usr/share/misc/pcvtfonts/ter-<X><STYLE>.8<SIZE>
  163. or, for file names with minus instead of period:
  164. $ loadfont -f /usr/share/misc/pcvtfonts/ter-<X><STYLE>-8x<SIZE>
  165. where <X> is a character identifying the code page as listed in p.3.2.
  166. 3.2. Legend.
  167. names covered codepage(s)
  168. ter-1* ISO8859-1, Windows-1252
  169. ter-2* ISO8859-2
  170. ter-5* ISO8859-5
  171. ter-9* ISO8859-9, Windows-1254
  172. ter-c* Windows-1251
  173. ter-d* ISO8859-13
  174. ter-f* ISO8859-15
  175. ter-g* ISO8859-16
  176. ter-i* IBM-437
  177. ter-k* KOI8-R
  178. ter-p* Paratype-PT154
  179. ter-u* KOI8-U
  180. names style
  181. ter-*n normal
  182. ter-*b bold
  183. ter-*f framebuffer-bold
  184. 3.3. Notes.
  185. The RAW font contains data only and should be compatible with all UNIX
  186. systems. If any of the bold fonts doesn't look good try framebuffer-bold,
  187. or, if you are using an EGA/VGA adapter, program it to to clear column 8 of
  188. the character matrix (attribute controller register 0x10 bit 0x02).
  189. 4. X11 Window System.
  190. - sizes 6x12, 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32
  191. - styles normal, bold
  192. - code pages ISO8859-1/Windows-1252, ISO8859-2, ISO8859-5,
  193. ISO8859-9/Windows-1254, ISO8859-13, ISO8859-15, ISO8859-16,
  194. Windows-1251, KOI8-R, KOI8-U, Paratype-PT154, ISO10646-1
  195. - characters 689
  196. - format Portable Compiled Font (PCF)
  197. 4.1. Installation.
  198. $ ./configure [--prefix=PREFIX | --x11dir=DIRECTORY]
  199. $ make pcf
  200. # make install-pcf
  201. The files are compressed with gzip and installed in DIRECTORY. If DIRECTORY
  202. does not exist, it is created. The default PREFIX is /usr. The default
  203. DIRECTORY is PREFIX/X11R6/lib/X11/fonts/local. Requires Perl and bdftopcf.
  204. Some X11 libraries and applications substitute the missing bold fonts by
  205. shifting the normal fonts. To avoid such substitution for 6x12, run:
  206. # make install-12b
  207. To update fonts.dir file in DIRECTORY after (un)installation, use:
  208. # make fontdir
  209. The configuration file which lists the font directories must contain
  210. DIRECTORY. If xfs or the X-server have been active during the installation,
  211. they should be restarted so the font list can be updated.
  212. See also mkfontdir(1), xorg.conf(5), xfs(1), xlsfonts(1) and fonts-conf(5).
  213. 4.2. Notes.
  214. The ISO8859-1 and ISO8859-9 fonts contain the Windows Western characters and
  215. can be used as Windows-1252 and Windows-1254 respectively.
  216. 5. Frequently Asked Questions.
  217. Q. Italic version?
  218. A. No. The quality is significantly lower, and preserving the font width
  219. requires overlapping characters, which are not handled very well by X11/Xft.
  220. If you need it than much, try mkitalic from FreeBSD or bdfslant from Debian.
  221. Q. Scalable version?
  222. A. Probably a TrueType font in 2006/7. No italic version will be included
  223. unless it is very easy to implement.
  224. Q. Win32 version?
  225. A. No, there are problems with the raster font codepages and sizes. You can
  226. try the pseudo-TrueType version by Eric Shao-yu Cheng.
  227. Q. How to create an italic version with mkitalic?
  228. A. Sorry, but I do not answer questions about mkitalic, bdfslant and the
  229. pseudo-TrueType version, neither to questions specific to a particular Linux
  230. distribution. Read the sources/documentation or write to the respective
  231. package maintainer.
  232. Q. How about some new characters?
  233. A. Fine, if they aren't very complex - but be ready to help. To make the new
  234. characters easily readable, I must have a very good idea what they should
  235. look like. The digits and most of the letters and punctuation characters
  236. that I'm familiar with are already included in the font, so your assistance
  237. will most probably be required for the new ones.
  238. Q. The bold 6x12 font...
  239. A. ...does not exist - see 4.1.
  240. Q. The font works in X11/Motif, but not in GNOME/KDE/Xfce.
  241. A. See fonts-conf(5).
  242. variant
  243. Q. The lowercase cyrillic k...
  244. A. ...has been fixed, and the previous (high) k is now a varianth.
  245. 6. Bugs.
  246. Size 6x12, size 14x28 bold style and size 16x32 normal style are of worse
  247. quality than the others. Avoid them.
  248. The eth modifier should be based on curve not diagonal.
  249. Shha, Dje, Tshe, shha, dje tshe and may be wrong and/or font incompliant.
  250. The upper-P-part of Thorn in sizes 6x12 and 12x24 is not centered.
  251. The modifiers of Ghe middlehook, ghe middlehook, Eng and eng are mostly
  252. random.
  253. Several accents are implemented as combining accents, commaturnedmod is
  254. arbitary.
  255. 7. Legal information.
  256. 7.1. License.
  257. You can use and distribute this archive and the character varianths freely
  258. and without charge under the terms of the GNU General Public License version
  259. 2.0 or (at your choice) any later version.
  260. 7.2. Copyright.
  261. Terminus Font 4.20, Copyright (C) 2006 Dimitar Toshkov Zhekov.
  262. Report bugs to <jimmy@is-vn.bg>
  263. Thanks to Anton Zinoviev, Kir Koliushkin and all others who helped.