fop-0.20.3rc2 problems

2002-02-28 Thread Keiron Liddle
Hi Christian, There is one problem with the rc2. It appears that the TextState, ts, is not initialised in FObjMixed. Causing the following error. java.lang.NullPointerException at org.apache.fop.fo.FObjMixed.addCharacters(FObjMixed.java:47) at org.apache.fop.fo.FOTreeBuilder.c

Re: [REDESIGN] TextLayoutManager whitespace handling

2002-02-28 Thread Keiron Liddle
Hi Karen, I seem to be having a bit of trouble getting that text parsing right. I was mainly just trying to get something to work to see on the output. It should be able to be simplified thanks to the earlöier whitespace handling. I still wonder what should be done in a situation like: some tex

Re: problem building on macosx

2002-02-28 Thread joseph . aloysius . gilvary
Do you have multiple JVMs installed, or have you recently added the release version of JDK 1.4? I had a similar set of problems early this week. When I uninstalled JDK 1.3, and re-installed it, I was able to get FOP building and running again with 1.3. I had been experiencing strange errors (Cla

RE: [REDESIGN] TextLayoutManager whitespace handling

2002-02-28 Thread Arved Sandstrom
Hi, Keiron My gut feeling is that with an initial "score-spaces" value of "true", and since 6.6.3 tells us that we treat characters as fo:character, and score-spaces is applicable to fo:character, I would say that the underline applies to the space. Regards, Arved -Original Message- Fro

cvs commit: xml-fop/src/org/apache/fop/fo FObjMixed.java

2002-02-28 Thread chrisg
chrisg 02/02/28 04:20:02 Modified:src/org/apache/fop/fo Tag: fop-0_20_2-maintain FObjMixed.java Log: quick fix for Markers (thanks to Keiron) Revision ChangesPath No revision No revision 1.12.2.

Re: fop-0.20.3rc2 problems

2002-02-28 Thread Christian Geisert
Keiron Liddle wrote: > Hi Christian, > > There is one problem with the rc2. It appears that the TextState, ts, is > not initialised in FObjMixed. Causing the following error. > java.lang.NullPointerException > at org.apache.fop.fo.FObjMixed.addCharacters(FObjMixed.java:47) > at

Re: Options

2002-02-28 Thread Peter B. West
Jeremias, Jeremias Maerki wrote: >Peter > >(comments inline) > >>In config.xml: >> >> >>userConfigFileName >>userconfig.xml >> >> > >Ok, that means FOP looks in the current directory for userconfig.xml. >I can agree with that. I guess there are pros and cons: This mechanism >can redu

C# version of FOP

2002-02-28 Thread Sarandos Steve
I have been working on converting FOP to C# for a project I'm working on. I currently have a C# version producing EMF page images from the example FOP files from 0.20.3rc. I'm producing EMF right now since that is the specific format my application requires. To ease my conversion effort I backed

Re: Options

2002-02-28 Thread Jeremias Maerki
Hi Peter > >Now, I think you're really start mixing things. I strongly recommend to > >separate configuration (as the filename says) and processing > >instructions. What you want to do means creating a new userconfig.xml > >for each call to FOP. This is much easier using the command line (and >

Re: [Understanding] Property Handling [5]

2002-02-28 Thread Peter B. West
Karen, Thanks for this detailed info. What do you do about "ems" lengths in a marker? Peter [EMAIL PROTECTED] wrote: > Expressions involving "em" units which are relative to >font-size _are_ resolved during the FO tree building however. > -

Re: FOP0.20.3

2002-02-28 Thread Chuck Paussa
Markers are broken in Fop-0.20.3rc2 the presence of an fo:marker tag --> error I don't know if this should be entered as a bug since markers were not completely implemented previously [INFO]: FOP 0.20.3rc [INFO]: building formatting object tree [ERROR]: null Here is the sample test.fo http:

Re: Using Avalon/Logkit

2002-02-28 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Ok, I think that can be done, even when using Avalon in FOP. You propose > (I think) that we could provide an Avalon-Wrapper around FOP, Thanks for the help. Some comments on the concerns: I'm forced to use JDK 1.3 with JAXP1.1 and proprietary extensio

Re: FOP Interfaces

2002-02-28 Thread Joerg Pietschmann
Keiron Liddle <[EMAIL PROTECTED]> wrote: > XML input > - various ways to supply FOP with the xsl:fo file I might be an idea to rely on JAXP 1.1 here. > general options > - base directory Make this "base URI". Make sure your concept allows resolving those pesky "url(#stuff)" properties in embedded

Re: FOP Interfaces

2002-02-28 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Output from FOP: > - Generation statistics: Number of pages total What about: total=((Integer)processor.getAttribute("fop.totalNumberOfPages")).intValue() (Returns 0 before rendering, i suppose. Or is throwing an exception better?) > Number of pages

Exception

2002-02-28 Thread Gabrovsky, Ivaylo
Hi everyone, I create PDFs in 10 parallel threads and every now and then I have this Exception. Can someone clarify for me what is the problem and how to fix it? I suspect it is related with parallel usage of same gif image. java.lang.NullPointerException at org.apache.xerces.framework.X

solution for problems using external TTF fonts with FOP

2002-02-28 Thread Lewis, Bobby
Hi, I answered my own question from a few days ago, and I thought I'd put in some clarification for others, because I've seen a lot of questions on here about using external fonts with FOP. If you get the EOFException or the NoSuchElementException when trying to create the metrics file for the f

Re: Using Avalon/Logkit

2002-02-28 Thread Nicola Ken Barozzi
From: "Joerg Pietschmann" <[EMAIL PROTECTED]> > Jeremias Maerki <[EMAIL PROTECTED]> wrote: > > Ok, I think that can be done, even when using Avalon in FOP. You propose > > (I think) that we could provide an Avalon-Wrapper around FOP, > > Thanks for the help. > Some comments on the concerns: I'm f

Re: FOP Interfaces

2002-02-28 Thread fred redf
I would *love* to be able to be able to get the page number where some event append (for example by stating in .fo source) cause it would greatly improve fop/itext interfacing. I personnaly use fop to render most of my content but i finish the work using itext (to watermark content, reorganize pa

EBCDIC os390

2002-02-28 Thread Jason . West
I'll apologize upfront as I think my question is really for the users list but, I was unable to find how to subscribe to it. I'm developing under Websphere 4.0 and have had success in using FOP .20 on my NT machines. I take that ear file and install it on our os390 Websphere server and I get back

Re: [REDESIGN] TextLayoutManager whitespace handling

2002-02-28 Thread Karen Lease
Hi Kerion, I agree it's better to have some output. Like my choir director says, we can't know if you're singing the wrong note if we can't hear it :-) I had some code written for this, but it's set up to return a BreakPosition and it's incomplete. I haven't gone back to the white-space handlin

Re: [Understanding] Property Handling [5]

2002-02-28 Thread Karen Lease
Hmm, good question. How is "punt" for an answer? Seriously, that's probably another case of delayed evaluation. Though I think the issue concerns the descendants of "marker" and not the properties on "marker" itself which are said to be ignored. This is certainly not handled correctly as it stands

textalign

2002-02-28 Thread Thomas Kübler
hallo,   is there any possibility to write text from the bottom to the top, so the text start at the bottom of a block-container and not from the top.   thanks.   thomas

RE: Using Avalon/Logkit

2002-02-28 Thread Savino, Matt C
I figured I'd go ahead and upadate my generator servlet to use all that log code like the one in your new example. Then if still breaks, I will let you know. thanks a lot, Matt > -Original Message- > From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002

truetyp-fonts

2002-02-28 Thread Thomas Kübler
hallo,   when i used truetype-fonts in fop, a have problems to print this pdf-files with one printer. are there any tools to convert this pdf-files in a vector-form where the fonts are change in curve-elements?     thanks thomas

RE: [REDESIGN] TextLayoutManager whitespace handling

2002-02-28 Thread Arved Sandstrom
Comments below. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Karen Lease Sent: February 28, 2002 6:31 PM To: [EMAIL PROTECTED] Subject: Re: [REDESIGN] TextLayoutManager whitespace handling [ SNIP ] That's one thing. In your example, even supposing we

RE: [REDESIGN] TextLayoutManager whitespace handling

2002-02-28 Thread Arved Sandstrom
I should add, if the 2 spaces end up on the same line, of course. Until we do layout we don't know. -Original Message- From: Arved Sandstrom [mailto:[EMAIL PROTECTED]] Sent: February 28, 2002 7:03 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [REDESIGN] TextLayoutManager whites

Corrupt PDF files?

2002-02-28 Thread Lewis, Bobby
I have a problem that is hard to debug. I am generating PDF files with FOP, and the process is working ok most of the time. Sometimes though, the file becomes corrupt (I'm sending the PDF back to a web browser based on a request a user makes from a JSP). Here's what we just found: we're using an

cvs commit: xml-fop/docs/xml-docs/fop relnotes.xml readme.xml resources.xml running.xml

2002-02-28 Thread chrisg
chrisg 02/02/28 16:02:42 Modified:docs/xml-docs fop.xml docs/xml-docs/fop readme.xml resources.xml running.xml Added: docs/xml-docs/fop relnotes.xml Log: added release notes for 0.20.3 Revision ChangesPath 1.12 +2 -0 xml-fop/docs/xml-doc

RE: C# version of FOP

2002-02-28 Thread Arved Sandstrom
Hi, Steve Speaking as an individual committer I think it's excellent that you've done this. I happen to be completely language-agnostic and I'll use anything that works, including everything in the MS stable. I would recommend that you start a Sourceforge project to take this further. Once you'v

Re: Options

2002-02-28 Thread Peter B. West
Jeremias, Jeremias Maerki wrote: >Hi Peter > ... >You'll have to create a GUI or use OS X. :-) Well, that leads me to the >question: What are you actually trying to do? We're talking about >solutions here, but not what you need them for (I think). > There's a very useful discussion going on abo

Example extension

2002-02-28 Thread Adrian Edwards
Hi fop-dev, Has anyone written a simple(ish) FOP extension that they would be willing to share with the list (or even just me) as an example? I'm talking full jar file here. The lack of examples (other than the quite complicated SVG extension) in the docs and on the mailing lists is quite frust

RE: Example extension

2002-02-28 Thread Michiel Verhoef
Have a look at: http://www.exslt.org/ HTH, Michiel $ -Original Message- $ From: Adrian Edwards [mailto:[EMAIL PROTECTED]] $ Sent: vrijdag 1 maart 2002 8:34 $ To: [EMAIL PROTECTED] $ Subject: Example extension $ $ $ Hi fop-dev, $ $ Has anyone written a simple(ish) FOP extension that t

Re: Exception

2002-02-28 Thread Jeremias Maerki
Seems like we have two people almost at the same time having problems with NPEs in loadImage() methods. Ivaylo, it looks like you're not using the latest version of FOP, so I haven't been able to find out what exactly caused the NPE. It's not that it will necessarily work if you update! I've loo

RE: Example extension

2002-02-28 Thread Adrian Edwards
Thanks for that very interesting link Michiel. But I couldn't find any information on extending fop there, just extending XSLT. Of course, I may have missed it... I have no trouble with including elements from a custom namespace in an XSL-FO document, it's just the Java code to get FOP to handl

Re: FOP Interfaces

2002-02-28 Thread Jeremias Maerki
> > Output from FOP: > > - Generation statistics: Number of pages total > What about: > total=((Integer)processor.getAttribute("fop.totalNumberOfPages")).intValue() > (Returns 0 before rendering, i suppose. Or is throwing an exception > better?) > > > Number of pages of each page-sequence > Uhh

RE: Example extension

2002-02-28 Thread Michiel Verhoef
Wooops, must have been a lack of coffee or something... Sorry, I was busy on my XSLT style sheet and sort of half read your message. I'll see if I can come up with something usefull instead :-) Cheers, Michiel $ -Original Message- $ From: Adrian Edwards [mailto:[EMAIL PROTECTED]] $ Se

Re: FOP Interfaces

2002-02-28 Thread Jeremias Maerki
Do you just want to know how many pages were rendered (See Driver.getResults().getPageCount()) or do you want to insert PDF pages of your own while FOP is rendering? Or something else, because I think I don't undertand, yet, what you want? > I would *love* to be able to be able to get the page >

Re: EBCDIC os390

2002-02-28 Thread Jeremias Maerki
> I'll apologize upfront as I think my question is really for the users list > but, > I was unable to find how to subscribe to it. No, I think you're in the right place. > I'm developing under Websphere 4.0 and have had success in using FOP .20 > on my NT machines. I take that ear file and insta