- From: Denis Kranjcec <denis.kranjcec@zpm.fer.hr>
- Date: Mon, 5 Mar 2001 10:29:43 +0100
- To: "Www-Xsl-Fo" <www-xsl-fo@w3.org>
Hi I tried to add font to FOP but I get EOFException. I followed instructions how to add fonts (it's very simple), and I don't know what I doing wrong. Any tips? Thanks in advance This is what i do when i try to add font: C:\temp>java org.apache.fop.fonts.apps.TTFReader C:\temp\arial.ttf tnrcm.xml TTF Reader v1.0 Reading C:\temp\arial.ttf... Read dir tab [68 83 73 71] offset: 266972 length: 5136 name: DSIG Read dir tab [71 68 69 70] offset: 272108 length: 152 name: GDEF Read dir tab [71 83 85 66] offset: 272260 length: 726 name: GSUB Read dir tab [74 83 84 70] offset: 272988 length: 30 name: JSTF Read dir tab [76 84 83 72] offset: 21860 length: 1300 name: LTSH Read dir tab [79 83 47 50] offset: 504 length: 86 name: OS/2 Read dir tab [80 67 76 84] offset: 266916 length: 54 name: PCLT Read dir tab [86 68 77 88] offset: 23160 length: 4500 name: VDMX Read dir tab [99 109 97 112] offset: 11840 length: 4830 name: cmap Read dir tab [99 118 116 32] offset: 31932 length: 1584 name: cvt Read dir tab [102 112 103 109] offset: 30476 length: 1456 name: fpgm Read dir tab [103 97 115 112] offset: 592 length: 16 name: gasp Read dir tab [103 108 121 102] offset: 69904 length: 178976 name: glyf Read dir tab [104 100 109 120] offset: 38696 length: 31208 name: hdmx Read dir tab [104 101 97 100] offset: 380 length: 54 name: head Read dir tab [104 104 101 97] offset: 436 length: 36 name: hhea Read dir tab [104 109 116 120] offset: 33516 length: 5178 name: hmtx Read dir tab [107 101 114 110] offset: 261444 length: 5472 name: kern Read dir tab [108 111 99 97] offset: 16672 length: 5188 name: loca Read dir tab [109 97 120 112] offset: 472 length: 32 name: maxp Read dir tab [110 97 109 101] offset: 608 length: 11231 name: name Read dir tab [112 111 115 116] offset: 248880 length: 12564 name: post Read dir tab [112 114 101 112] offset: 27660 length: 2813 name: prep java.io.EOFException: Reached EOF, file size=273020 at org.apache.fop.fonts.FontFileReader.readTTFString(FontFileReader.java , Compiled Code) at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java, Compiled Code) at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:207) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:176) Denis
Received on Monday, 5 March 2001 04:35:06 UTC