Path: kuis!astemgw!wnoc-tyo-news!kogwy!cs-keio!odajima From: odajima@mt.cs.keio.ac.jp (Katsuya-Groover-Odajima) Newsgroups: fj.sources Subject: kanji26.bdf -- 26pt kanji font for X11 (part 0/14) Keywords: X11, font, kanji Message-ID: Date: 18 Nov 90 09:58:07 GMT Sender: news@cs-relay.cs.keio.ac.jp Followup-To: fj.sources.d Distribution: fj Organization: Tokoro Laboratory, Keio University, Yokohama Japan. Lines: 100 X11用の26x26ドット漢字フォントです。 これは、以前 fj.binaries.msdos にポストされた jbanner に付属の フォントファイル jisx9052.24 をもとに作りました。 24ドット用のデータの上下左右を1ドット空けて26ドットにしてあります。 そのほうが見やすいそうです。sed script で24ドット用も作れます。 How to make kanji26.bdf cat kanji26.a[a-n] | uudecode uncompress kanji26.bdf.Z How to make kanji24.bdf sed -f 26to24.sed < kanji26.bdf > kanji24.bdf ------------------------------------------------------ まるちゃん@KEIO まるもじクラブ まる#1 TKFC#1 ------------------------------------------------------ #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh 'kanji24.alias' <<'END_OF_FILE' Xkanji24 -jis-mincho-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0 X-jis-fixed-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0 -jis-mincho-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0 X-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0 -jis-mincho-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0 X-jis-mincho-medium-r-normal--24-170-100-100-c-240-jisx0208.1983-0 -jis-mincho-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0 END_OF_FILE if test 461 -ne `wc -c <'kanji24.alias'`; then echo shar: \"'kanji24.alias'\" unpacked with wrong size! fi # end of 'kanji24.alias' fi if test -f 'kanji26.alias' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'kanji26.alias'\" else echo shar: Extracting \"'kanji26.alias'\" \(461 characters\) sed "s/^X//" >'kanji26.alias' <<'END_OF_FILE' Xkanji26 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 X-jis-fixed-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 X-jis-fixed-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 X-jis-mincho-medium-r-normal--26-190-100-100-c-260-jisx0208.1983-0 -jis-mincho-medium-r-normal--26-250-75-75-c-260-jisx0208.1983-0 END_OF_FILE if test 461 -ne `wc -c <'kanji26.alias'`; then echo shar: \"'kanji26.alias'\" unpacked with wrong size! fi # end of 'kanji26.alias' fi if test -f '26to24.sed' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'26to24.sed'\" else echo shar: Extracting \"'26to24.sed'\" \(632 characters\) sed "s/^X//" >'26to24.sed' <<'END_OF_FILE' X# convert kanji26.bdf to kanji24.bdf -- by K. Odajima X# ex. sed -f 26to24.sed < kanji26.bdf > kanji24.bdf X Xs/^FONT -JIS-Mincho-Medium-R-Normal--26-250-75-75-C-260-JISX0208.1983-0/FONT -JIS-Mincho-Medium-R-Normal--24-230-75-75-C-240-JISX0208.1983-0/g X Xs/^SIZE 26 75 75/SIZE 24 75 75/g X Xs/^FONTBOUNDINGBOX 26 26 0 -4/FONTBOUNDINGBOX 24 24 0 -2/g X Xs/^PIXEL_SIZE 26/PIXEL_SIZE 24/g X Xs/^POINT_SIZE 250/POINT_SIZE 230/g X Xs/^AVERAGE_WIDTH 260/AVERAGE_WIDTH 240/g X Xs/^FONT_DESCENT 4/FONT_DESCENT 2/g X X# s/^FONT_ASCENT 22/FONT_ASCENT 22/g X Xs/^SWIDTH 998 0/SWIDTH 1002 0/g X Xs/^DWIDTH 26 0/DWIDTH 24 0/g X Xs/^BBX 24 24 1 -3/BBX 24 24 0 -2/g X END_OF_FILE if test 632 -ne `wc -c <'26to24.sed'`; then echo shar: \"'26to24.sed'\" unpacked with wrong size! fi # end of '26to24.sed' fi echo shar: End of shell archive. exit 0