Comment that line and use the line below that one. Paulo
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Normann Nielsen > Sent: Monday, March 20, 2006 3:25 PM > To: [email protected] > Subject: [iText-questions] Compilation of iText using JAVA ver. 1.3 > > Hi there! > > I am trying to compile iText using JAVA version 1.3.1_15, as > can be seen here: > > java version "1.3.1_15" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_15-b01) > Java HotSpot(TM) Client VM (build 1.3.1_15-b01, mixed mode) > > Changing the compiler to a newer version is not an option. I > am required to use the version 1.3.1 version. > > During compilation, I get the following error: > > compile: > [javac] Compiling 207 source files to > C:\projekter\iText\build\bin\classes > [javac] > C:\projekter\iText\src\com\lowagie\text\pdf\PdfGraphics2D.java > :347:cannot resolve symbol > [javac] symbol : variable LAYOUT_LEFT_TO_RIGHT > [javac] location: class java.awt.Font > [javac] > drawGlyphVector(this.font.layoutGlyphVector(new > FontRenderContext(new AffineTransform(), true, false), > s.toCharArray(), 0, s.length(), > java.awt.Font.LAYOUT_LEFT_TO_RIGHT), x, y); > [javac] > > ^ > [javac] 1 error > > BUILD FAILED > C:\projekter\iText\src\build.xml:72: The following error > occurred while executing this line: > C:\projekter\iText\src\ant\compile.xml:31: Compile failed; > see the compiler error output for details. > > The field LAYOUT_LEFT_TO_RIGHT arrived in Java ver. 1.4x, and > is not around in Java ver. 1.3x. > > Is there a simple workaround here? > > -------------------------------------------- > Normann Aa. Nielsen > Software Developer > Runtime Vcon > +45-71204205 direct > [EMAIL PROTECTED] > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
