Jian/ Family GL/ File Name FanTi Style GR encoding/charset ---------------------------------------------------------------- beijing16.bdf.gz J SongTi GR GB2312-80 beijing24.bdf.gz J SongTi GR GB2312-80 cclib16fs.bdf.gz J FangSongTi GR GB2312-80 cclib16st.bdf.gz J SongTi GR GB2312-80 gb16fs.bdf.gz J FangSongTi GL GB2312-80 gb16st.bdf.gz J SongTi GL GB2312-80 gb24st.bdf.gz J SongTi GL GB2312-80 guobiao16.bdf.gz J SongTi GL GB2312-80,GB6345.1-86&GB8565-89 taipei16.bdf.gz F Fang Song Ti Big5 taipei24.bdf.gz F Fang Song Ti Big5 taipeik24.bdf.gz F Kai3shu1 Big5 taipeil24.bdf.gz F Li4shu1 Big5 taipeim24.bdf.gz F Ming2ti3 Big5 clB8x16.bdf.gz Modified Schumacher Bold 8X16 ISO8859-1 gb1988-80.bdf.gz single byte font GB 1988-80 sisheng8x16.bdf.gz cWnn4.2 pinyin font OMRON_UDC_ZH sisheng8x18.bdf.gz cWnn4.2 pinyin font OMRON_UDC_ZH sisheng12x24.bdf.gz cWnn4.2 pinyin font OMRON_UDC_ZH sisheng12x26.bdf.gz cWnn4.2 pinyin font OMRON_UDC_ZH NOTES 1. Csong16.bdf, Csong24.bdf, and Txian16.bdf that came with the X11R4 distribution, [X11R4 source directory]/contrib/clients/mlx/ subdirectory, is now replaced by the ones from X11R6 distribution. 2. The taipei[k,l,m]24.bdf fonts are generated by "et2bdf 1.1" by mleisher@nmsu.edu (Mark Leisher) on Fri Jun 12 03:10:53 1992 and are placed in Public Domain. 3. only the bottom half of gb1988-80.bdf is GB 1988-80. The top half is copied from JIS X 0201. If there were an 8-bit extension of GB 1988-80, the sensible thing to have in the top half would be a half-width version of row 8 of GB 2312-80 (pinyin & zhuyin symbols), possibly as extended in GB 6345-86. [Comment from Ross Paterson ] 4. guobiao16.bdf.gz is from the hzbanner.tar.gz package, which also includes an awk script to convert GL to GR encoding, contributed to PD by Koichi Yasuoka 5. clB8x16.bdf.gz Modified by L.S.NG 24-12-1993 16:34. Changes made so that cursor is taller and compatible with Chinese font CCLIB16ST. 6. gb16fs.bdf.gz, gb16st.bdf.gz and gb24st.bdf.gz came with the X11R6 distribution COMMENT THANKS TO Yongguang Zhang of Purdure University, for making 8x18.bdf, cclib16fs.bdf, and cclib16st.bdf available. gb1988-80.bdf among others is an achievement of Multi-lingual I/O System Project at Waseda University, Tokyo, Japan. kataoka@ohara.info.waseda.ac.jp Institute of Software, Academia Sinica, Beijing, China who contributed the cclib and beijing fonts and the gb16*/24* fonts ========================================================================= This directory contains the following fonts: cclib16fs.bdf.Z X11 Chinese font, GB encoding, 16x16 Fang Song Style. cclib16st.bdf.Z X11 Chinese font, GB encoding, 16x16 Song Style. 8x18.bdf X11 8x18 font, matching with cclib16, or hku-ch16. 8x16.bdf 8x16 font from X11R5. (Some system doesn't have it.) fonts.alias font alias file. * hku-ch16.bdf.Z X11 Chinese font, BIG5 encoding, 16x16. ---------- Notes 1) You need to have the "fonts.alias" file, to put in the same directory of those .bdf/.snf/.pcf files, before you run "mkfontdir". 2) GB2312-80 refers to the Standard "Code of Chinese Graphic Character for Information Interchange, Primary Set (GB2312-80)", published by National Standards Bureau, Beijing, China in 1980. 3) GR/GL encoding: for GR, the most significant bit of each octet of a character in the font is one (1). 4) Here "BIG5 encoding" refers the ETen Big5 encoding, HKU Big5, a corrupted variant of the widely used de facto standard, so-called "Big5", should not be supported. ---------- How to install these fonts in X11R4, X11R5, OpenWindow, and DECwindow: You'd better have a dedicated directory for the fonts. Assuming ~/xfonts in the following illustration. (~ for your home directory.) *** In X11R4: To install the fonts in MIT X11R4, use the following commands: % mkdir ~/xfonts % mv *.bdf.Z 8x18.bdf fonts.alias ~/xfonts % cd ~/xfonts % bdftosnf -t 8x18.bdf > 8x18.snf % zcat cclib16fs.bdf.Z | bdftosnf -t > cclib16fs.snf % zcat cclib16st.bdf.Z | bdftosnf -t > cclib16st.snf % zcat hku-ch16.bdf.Z | bdftosnf -t > hku-ch16.snf % mkfontdir . inform your X window system by: % xset fp+ ~/xfonts You can also put this line in your X startup script, (e.g. ~/.xinitrc), so that each time you restart X window system, the path is added. *** In X11R5: To install the fonts in MIT X11R5, use the following commands: % mkdir ~/xfonts % mv *.bdf.Z fonts.alias ~/xfonts % cd ~/xfonts % zcat cclib16fs.bdf.Z | bdftopcf -t > cclib16fs.pcf % zcat cclib16st.bdf.Z | bdftopcf -t > cclib16st.pcf % zcat hku-ch16.bdf.Z | bdftopcf -t > hku-ch16.pcf % mkfontdir . inform your X window system by: % xset fp+ ~/xfonts You can also put this line in your X startup script, (e.g. ~/.xinitrc), so that each time you restart X window system, the path is added. *** In (Sun) Open Window 2.0 or 3.0: If you are running X11/NeWS window system server ("xnews"): % mkdir ~/xfonts % mv *.bdf.Z 8x18.bdf ~/xfonts % cd ~/xfonts % uncompress *.bdf.Z % convertfont 8x18.bdf % convertfont -M -n cclib16fs -o cclib16fs cclib16fs.bdf % convertfont -M -n cclib16st -o cclib16st cclib16st.bdf % convertfont -M -n hku-ch16 -o hku-ch16 hku-ch16.bdf % bldfamily (Note: ignore the error messages by "bldfamily", them won't hurt.) inform your X11/NeWS window system by: % xset fp+ ~/xfonts You can also put this line in your X startup script, (e.g. ~/.xinitrc), so that each time you restart X window system, the path is added. *** In (DECstation) DECwindow: X windows running in DECstations are often the DECwindows. To install the fonts, use the following commands: % mkdir ~/xfonts % mv *.bdf.Z 8x18.bdf fonts.alias ~/xfonts % cd ~/xfonts % dxfc -t < 8x18.bdf > 8x18.pcf % zcat cclib16fs.bdf.Z | dxfc -t > cclib16fs.pcf % zcat cclib16st.bdf.Z | dxfc -t > cclib16st.pcf % zcat hku-ch16.bdf.Z | dxfc -t > hku-ch16.pcf % dxmkfontdir . inform your DECwindow system by: % xset fp+ ~/xfonts You can also put this line in your X startup script, (e.g. ~/.xinitrc), so that each time you restart X window system, the path is added. ---------- Testing and trouble shooting in font installation: After the above installtion steps, you can test it by the following: 1) run % xset q You will see a list of directories under "Font Path:" section. The pathname of your new-added font directory, should appear on the list exactly once. If you cannot find your new-added font directory in the list, your installation failed. It may be caused by: a) you didn't follow the steps to build the font directory (e.g. you forgot to "mkfontdir"); b) you didn't give a *full* path name (the path name which starts from the root as "/....") for "fontdir" in "xset fp+ fontdir"; c) the X server doesn't have the privilege to read your font directory (e.g. X server is not started by you and your directory is protected); d) there are too many directories in the "Font Path:" list (remove some unimportant ones to make rooms for this new one); or e) your font directory is actually in another machine, but that directory is not mounted on the workstation where the X server runs. (In this case, try to put the font files in your workstation. If that is not possible, e.g. in a diskless workstation, or X terminal, ask your system manager for help.) If your font directory appears twice or more. Run % xset fp % xset fp+ your_font_directory and redo the testing again. 2) run % xset fp rehash % xlsfonts The output of the second command is a list of font names. The string "cclib16st" should appear in the list exactly once. If you cannot find "cclib16st", but you can find something like -cclib-..., you forgot to put "fonts.alias" in your font directory. If you cannot find anything about cclib16st, or -cclib- font, you failed to convert the .bdf fonts into the proper format. 3) run % xfd -fn cclib16st -start 41216 You should be able to see all the Chinese characters page by page. (All "real" Hanzi starts from the 16th page.) In X11R5 cxterm, the default ASCII font is "8x16". If your system doesn't have it (e.g. you don't see "8x16" in the output of xlsfonts), you should specify an alternative font in cxterm command option "-fn". You may choose '-sony-fixed-medium-r-normal--16-120-*-*-*-*-iso8859-1', or '8x18', or even 'fixed'. ---------- Some other hints from the net: 1) about NCD X terminal From: eddie@jupiter.SLAC.Stanford.EDU (Xintian Eddie Lin) Newsgroups: comp.windows.x Subject: Re: adding font path on a X terminal Message-ID: Date: 11 Oct 92 04:55:00 GMT In article eddie@laslett.SLAC.Stanford.EDU (Xintian Eddie Lin) writes: Hi, there: I am running x server on a NCD x terminal, the trouble I have is xset +fp /u/ap/eddie/myfontsdir giving error message as following: X error of faileed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 51(X_SetFontPath) The fonts.dir is properly built, I suspect I have to do something to the configuration file for the server. Can anyone point me to the right place ? thanks Eddie Lin Thanks for the kind replies, I finally figured it out: the fonts are loaded on NCD by tftp from a font server, and on that font server /etc/tftpaccess.ctl should contain all the directories tftp has access privilege to, so add your new font dir to it. and BTW, don't forget to use ncdbdftosnf to get .snf fonts. credits goes to Len Sweeney and michael pearlman who also suggests that .snf and .pcf fonts may screw X11R5 and X11R4; compression scheme is also relevant. ( it's for the info of those who suffered the similiar symptoms ) Eddie Lin -- ---------- Some changes in this directory: * hku-ch16.bdf.Z has been removed as suggested by MCPong, as fonts are now available for BIG5 standard code, ie ETen and KC fonts, both of which can be converted from hbf to bdf, plus some taipei*.bdf fonts already out on the network. * HKU-Ch16.bdf.Z, an old version of hku-ch16.bdf.Z, is replaced by the new hku-ch16.bdf.Z, in which the baseline of each character is raised so that it can match both 8x18 or 8x16 font. * 8x18big5.bdf, a 8x16 font which is used to match with HKU-Ch16.bdf.Z, is removed. The matching font for the new hku-ch16.bdf.Z can be either 8x18.bdf or 8x16.bdf (standard X11 font).