Marko Nedanoski wrote: > Hi > I'm using the createGraphicsShapes method in order to > get the Graphics2D object so it can be drawn to the > pdf directly, bacause i need to print farsi text. It > works fine with this method for acquiring the > Graphics2D object, unlike with the createGraphics > object.
With createGraphics, iText needs to know where to find the font program. Also there are some difficulties to be expected with metrics. > However, it solves the problem for a windows > machine, but not on a unix machine. On a unix machine > the farsi characters are shown as squares. With createGraphicsShapes, Java draws the glyphs. Java uses the font program to do this. Are you sure the JRE has access to the font program on the Unix machine? Have you tried creating a GUI on the Unix machine that shows the correct characters? br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
