Sachio Yagi,

three step:

Step 1: set your java classpath.
Step 2: try this:
                java org.apache.fop.fonts.apps.TTFReader 
<your_font_directory>\hgrgb98.ttf hgrgb98.xml
Step 3: if your font type is TrueType Collection("ttc") , try this :
                java org.apache.fop.fonts.apps.TTFReader -ttcname "<font_name>" 
<your_font_directory>\<font_name>.ttc <font_name>.xml



======= 2002-07-25 Wrote =======

>Hello,
>
>I am using fop-0.20.4rc version.
>I am trying to create font mertics file from TrueTypeFont
>(hgrgb98.ttf) in environment of HP-UX (11)
>
>While Creating metrics for the fontfile,following error occures.
>
>-------------------------------------------------------------
>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)
>----------------------------------------------------------------
>Can anybody please guide me how to solve this problem or  how to Use
>Japanese
>font in HP-UX.
>
>---
>    Sachio YAGI
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]

= = = = = = = = = = = = = = = = = = = =
                                
               stoneson
               [EMAIL PROTECTED]
                                        2002-07-25

Attachment: face-6.gif
Description: GIF image

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to