For FOP, what you need is not a glyph index but a Unicode character index. 1509 in hex is 05E5 which in Unicode is "HEBREW LETTER FINAL TSADI", so I don't think you've got the right index if you want to create Arabic text.
On 09.10.2006 03:00:18 kev martin wrote: > Using FOP 0.92. > > I have created an XML file to use the the arial.ttf font file, like this: > > java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons- > logging-1.0.4.jar;lib\commons-io-1.1.jar > org.apache.fop.fonts.apps.TTFReaderC:\windows\fonts\arial.ttf > arial.xml > > I have written some code for Arabic charcter shaping, which tells me that > the glyph I need has glyph index 1509. Using FontLab Studio ( > www.fontlab.com), and opening arial.ttf, I can see that this is correct, and > the glyph I want is indeed at index 1509. > > But the arial.xml file has no glyph index 1509, and I am unable to > understand why. I have checked the FOP source against the TrueType > specification and I cannot see the problem does anyone have any ideas ? > > Thanks > Kev Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
