Re: [Jpfop-develop] EOFException While Creating metrics for the fontfile
Brought to you by:
ishigami
From: Satoshi I. <ish...@vi...> - 2002-07-25 10:38:57
|
On Thu, 25 Jul 2002 13:50:05 +0900 , Sachio Yagi wrote: > Reading /usr/lib/X11/fonts/TrueType/japanese.st/typefaces/hgrgb98.ttf... > > java.io.EOFException: Reached EOF, file size=65536 offset=7092058 > at > org.apache.fop.fonts.FontFileReader.seek_set(FontFileReader.java:78) > at org.apache.fop.fonts.TTFFile.seek_tab(TTFFile.java:82) > at org.apache.fop.fonts.TTFFile.readFontHeader(TTFFile.java:614) > at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:391) > at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:181) > at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143) > ・ なぜこのエラーが起きるか? 例外の情報を見る限り、TrueTypeフォントに必須なheadテーブルのタグ が見つからなかったようです。 http://developer.apple.com/fonts/TTRefMan/RM06/Chap6.html#Overview 実際にheadテーブルが存在しないのか、headテーブルの読み込みに失敗 したのかは、hgrgb98.ttfの中を見なければ分かりません。 > ・ どうすれば、解決できるか? > ・ HP-UX上で、日本語PDFを作成する為に、何か良い方法があるか? hgrgb98.ttfを使用しなくても良いのであれば、 東風フォント http://www.on.ics.keio.ac.jp/~yasu/jp_fonts.html BitStream Cyberbit font(CyberCJK.ZIP) ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/ あたりを使用してみてはいかがでしょうか? --- 石神 覚司(Satoshi Ishigami) VIC TOKAI CORPORATION |