PC-98ã®ãã©ã³ããTrueTypeãã©ã³ãã«å¤æãã
NEC PC-9800ï¼PC-9801, PC-9821ï¼ ã®ãã©ã³ããTrueTypeãã©ã³ãã«å¤æãããã¼ã«ãä½ãã¾ããï¼https://github.com/hikaen2/ttf-pc9800
ç¹é·
- ã¢ã¦ãã©ã¤ã³ãã©ã³ããçæãã
- PC-9800ã«ãªãæåãæ±é²ãã©ã³ãã§è£ãï¼ä¾ï¼âââââââ§â¨ââââââââªâ«â½ââ¬Åâ°â¯ââªâ â¡Â¶â¯å°æ§é¥ç¶åçï¼
- FONT.ROM - PC-9800ã®ãã©ã³ãROMã®ã¤ã¡ã¼ã¸ãè¦ãã¾ããNeko Project II ã® GETBIOS ãªã©ã§ãããããå¸ãåºãã¦ããã¦ãã ãã
æé
ããã¸ã§ã¯ããã¯ãã¼ã³ãããã®ä¸ã® data ãã£ã¬ã¯ããªã« FONT.ROM ã¨ããååã§ãã©ã³ãROMã®ã¤ã¡ã¼ã¸ãé
ç½®ãã¦ãmake ãã¦ãã ããã
make ã«æåãã㨠dist ãã£ã¬ã¯ããªã®ä¸ã« pc-9800.ttf ãçæããã¾ãã
Debian / Ubuntu
$ sudo apt install git make ruby fontforge-nox potrace bdfresize $ git clone https://github.com/hikaen2/ttf-pc9800.git $ cd ttf-pc9800 $ cp /path/to/FONT.ROM data/FONT.ROM # âãããããå¸ãåºãã¦ããããã©ã³ãROMï¼ãã¹ã¯é©å®èªã¿æ¿ãã¦ãã ããï¼ãé ç½®ãã $ make # âmakeãããfontforgeãè¦åãåãã¾ããåé¡ããã¾ãã
Cygwin
1. Cygwinãã¤ã³ã¹ãã¼ã«ããã
ããã©ã«ãã®ããã±ã¼ã¸ã®ä»ã«ä»¥ä¸ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã
git, fontforge, potrace, gcc-core, make, ruby
2. Cygwin Terminalã§
# âbdfresizeãã¤ã³ã¹ãã¼ã«ãã $ curl -O http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/bdfresize-1.5.tar.gz $ tar zxf bdfresize-1.5.tar.gz $ cd bdfresize-1.5 $ sed -i '/*malloc();/d' charresize.c # âãããããªãã¨ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªãï¼Debianã®ããããåèã«ãã¾ããï¼ $ ./configure $ make $ make install $ cd .. # âãã©ã³ãããã«ããã $ git clone https://github.com/hikaen2/ttf-pc9800 $ cd ttf-pc9800 $ cp /path/to/FONT.ROM data/FONT.ROM # âãããããå¸ãåºãã¦ããããã©ã³ãROMï¼ãã¹ã¯é©å®èªã¿æ¿ãã¦ãã ããï¼ãé ç½®ãã $ make # âmakeãããfontforgeãè¦åãåãã¾ããåé¡ããã¾ãã
ãã¾ã. åè¨å·ã®å²ãå½ã¦ã«ã¤ãã¦
çæãããã©ã³ãã®U+005C(REVERSE SOLIDUS)ã«ã¯åè¨å·ã§ã¯ãªãããã¯ã¹ã©ãã·ã¥ãå²ãå½ã¦ã¦ãã¾ããåè¨å·ã¯U+00A5(YEN SIGN)ã«å²ãå½ã¦ã¦ãã¾ããã¤ã¾ãUnicodeçã«æ£ããå²ãå½ã¦ã«ãªã£ã¦ãã¾ãã
ãã U+005C ã«åè¨å·ãå²ãå½ã¦ãããã°ï¼CP932çå²ãå½ã¦ï¼ãdata/EXT.TXT ã®
0x00FC 0x005C
ã
0x005C 0x005C
ã«æ¸ãæãã¦ãã ããã
ä¾ï¼
sed -i 's/0x00FC\t0x005C/0x005C\t0x005C/' data/EXT.TXT