Re: NPE in Fop Task

2006-02-15 Thread Jeremias Maerki
Always state the FOP and JDK version you're using. You can run Ant using the -d or -v parameters and then you should get stack traces. On 15.02.2006 07:16:55 Eike Stepper wrote: Hi, I get a NullPointerException when calling Fop from my Ant script: macrodef name=pdf

Re: Problems with czech characters

2006-02-15 Thread Jeremias Maerki
FOP doesn't support the Minion OpenType fonts from current Acrobat Readers. OpenType fonts are not properly supported by FOP, yet. As an alternative, have a look at http://www.nongnu.org/freefont/ which provides TrueType fonts, published under the GPL license. On 15.02.2006 08:13:49

Re: NPE in Fop Task

2006-02-15 Thread Eike Stepper
I use JDK1.5.0_06 and this is the trace (the switches are very useful!): Apache Ant version 1.6.5 compiled on June 2 2005 Apache Ant version 1.6.5 compiled on June 2 2005 Buildfile: C:\ws\genfw\com.sympedia.docs\scripts\build.xml +Datatype genfw com.sympedia.genfw.ant.GenfwTask +Datatype

Re: NPE in Fop Task

2006-02-15 Thread Jeremias Maerki
I'm inclined to say so, yes. However, my biggest problem is that I cannot even reproduce the problem. I've tried using the attached Ant script with Ant 1.6.5 under JDK 1.5 with FOP 0.20.5 and FOP Trunk. Both targets doit and your (slightly modified) generate work fine here from the command line.

Re: NPE in Fop Task

2006-02-15 Thread Eike Stepper
If I configure my Eclipse launch config to start a separate JRE for the build, it works ;-) Unfortunately some other tasks require me to start the build in the same JRE as Eclipse runs in. It would be a hazzle to always trigger two separate builds. The question has to be changed: Has anyone

Fop 0.91beta and fonts

2006-02-15 Thread jologa
Hi, I have a small problem with fonts. My FO contains the following fo:block text-align=left space-after.optimum=3pt line-height=18pt font-style=normal background-color=#FF color=#00 font-weight=normal text-decoration=none font-family=Arial font-size=14pt id=N100A4 1. My

Re: NPE in Fop Task

2006-02-15 Thread Jeremias Maerki
I ran the script I attached earlier from within Eclipse (same VM and separate VM). Both cases worked. Hmm. On 15.02.2006 12:30:46 Eike Stepper wrote: If I configure my Eclipse launch config to start a separate JRE for the build, it works ;-) Unfortunately some other tasks require me to start

Re: Fop 0.91beta and fonts

2006-02-15 Thread Jeremias Maerki
Your font configuration is taken a little out of the context so it's impossible to tell whether you did everything right in the config file. Anyway, you're using TrueType fonts and these have to be embedded to work. So, embed-url on the font elements is definitely missing. On 15.02.2006 12:34:59

Re: Using FOP examples

2006-02-15 Thread Tracey Zellmann
Thanks for the reply. I had taken the old jars out of my Eclipse project, but overlooked some buried references in my user and system classpath. Your note triggered my memory, and I was able to solve that problem. - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To:

porblem running new fop-0.91

2006-02-15 Thread Tracey Zellmann
Now that I have fixed the problem with my classpath, I am tryign to run some examples that worked on the older fop-0.20.5 but don't seem to succeed when using the new version. Specifically, I have an example tha comes with StyluStudio thate creates a catalog with text pictures. Using the

Re: porblem running new fop-0.91

2006-02-15 Thread Jeremias Maerki
Actually, this message refers to the fo:region-before element in the single-page-master. The specification dictates that border and/or padding must not be specified on a region-before which seems to be the case in your example. Either remove the offending properties or disable strict validation

problems with printing: fop-0.91

2006-02-15 Thread Tim Dyck
I have tried printing several of the examples given and so far have been unable to get anything to print out correctly. The specific example fo files that I have tried are: ./examples/embedding/xml/fo/helloworld.fo (a blank page gets printed)

Re: problems with printing: fop-0.91

2006-02-15 Thread Manuel Mall
Tim, you didn't say which renderer (output format) you used for your attempts at printing. If you used PCL that renderer is non functional in the FOP 0.91 release (that's why it is in the sandbox area). See also http://xmlgraphics.apache.org/fop/status.html. Your best option is probably to go

PFBParser - ArrayIndexOutOfBoundsException

2006-02-15 Thread Grant McAuley
I am trying to embed a Type1 font in a PDF using fop 0.91beta in a servlet and am seeing the exception below. When I do not embed fonts but use a Base font like 'Times', everything works fine. Googling org.apache.fop.fonts.type1.PFBParser ArrayIndexOutOfBoundsException only gave links to