Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]How to use Japanese True Type fonts?
- To: tlug@example.com
- Subject: How to use Japanese True Type fonts?
- From: Mike Fabian <mfabian@example.com>
- Date: 08 Aug 2000 12:18:47 +0200
- Content-Type: text/plain; charset=us-ascii
- Reply-To: mfabian@example.com
- Resent-Date: 08 Aug 2000 12:42:49 +0200
- Resent-From: Mike Fabian <mfabian@example.com>
- Resent-Message-Id: <20000808104249.60C24364F6@example.com>
- Resent-Reply-To: mfabian@example.com
- Resent-Sender: tlug-request@example.com
- Resent-To: tlug@example.com
- Resent-X-Face: "';oPz9V1+<,`}1ZuxRv~EiSusWq*{Yjr"Sdvbhq'?q=2R\\6Y9O/,SAE`{J|6I=|w/sQg<rW_N'E3IV6~f8?\l#Es`]S`mv',PY(`8{$$R?+gLu}Qv/Mn>)?uladFjJ@example.com!_p_Jh;5QxlD6zL:?rIXe4FfK$C^mWhh$o`yt;.r.FLZLQOWBt><!;-.DYZ)Nu&1?~*:\36\BGz]"L;nue;l\%sJ/]l{is5OEw?0CF}dPS(ezG0xqUR)xa(L&&c;x{By"`oKvM&i!%+
- Sender: mfabian@example.com
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef)
Has anybody tried to use Japanese True Type fonts with Linux? What is the best way to do this? Which fontserver can be recommended for that purpose? I tried to use the free Japanese True Type fonts available from: http://www.linux.or.jp/~ishikawa/linux/dists/FreeType/xtt-fonts_0.19990222-3.tar.gz Until now I tried to use these fonts with XFree86-4.0 (should have support for True Type fonts already build in) and with the font server 'xfstt' but without any success. First I tried it with XFree86-4.0. I unpacked the tarball (which contains the fonts, fonts.dir, and fonts.alias files), and added the directory to X's fontpath with xset fp+ `pwd` Now 'xlsfonts' lists these Japanese True Type fonts, it shows for example the fonts -watanabe-mincho-medium-r-normal--0-0-0-0-p-0-iso8859-1 -watanabe-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0 among many others. But I can't display any of these fonts with 'xfd': mfabian@example.com:~/xtt-fonts-0.19990222$ xfd -fn "-watanabe-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0" Warning: Cannot convert string "-watanabe-mincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0" to type FontStruct xfd: no font to display Then I deleted the original fonts.dir and fonts.alias and created a new fonts.dir with the 'ttmkfdir' utility: mfabian@example.com:~/xtt-fonts-0.19990222$ ttmkfdir > fonts.dir unknown font foundry code LYJS unknown font foundry code LYJS mfabian@example.com:~/xtt-fonts-0.19990222$ cat fonts.dir 8 watanabe-mincho.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 watanabe-mincho.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 watanabe-mincho.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 watanabe-mincho.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 wadalab-gothic.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 wadalab-gothic.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 wadalab-gothic.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 wadalab-gothic.ttf -misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 Now 'xfd' can display one of these fonts: mfabian@example.com:~/xtt-fonts-0.19990222$ xfd -fn "-misc-unknown-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0" but unfortunately only the first page (first 256 characters, i.e. only ASCII characters are displayed). Then I tried to use xfstt. I used the option '--unstrap' when starting 'xfstt' (according to the documentation this option is necessary to display more then the first 256 characters in a font) and started the X-server with the option '-deferglyphs 16' (this is also recommended in the documentation of xfstt). But nevertheless, 'xfd' did never show me more than the first 256 characters. Maybe XFree86-4.0 and xfstt are not able to display Japanese True Type fonts? Has anybody tried X-TT (http://x-tt.dsl.gr.jp/)? Does this work better? According to the installation manual of X-TT it is distributed in form of patches against XFree86 3.3.5, so maybe this doesn't work with XFree86-4.0 at all? -- Mike Fabian <mfabian@example.com>
- Follow-Ups:
- How to use Japanese True Type fonts?
- From: "Stephen J. Turnbull" <turnbull@example.com>
- RE: How to use Japanese True Type fonts?
- From: "Jonathan Shore" <jshore@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: ICQ on http proxy
- Next by Date: How to use Japanese True Type fonts?
- Prev by thread: Linux on a watch
- Next by thread: How to use Japanese True Type fonts?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links