You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Will Peterson <wp...@novell.com> on 2003/11/15 01:07:47 UTC

Re: Is the current build of FOP broken?

OK ... Thanks.
 
Is it just that samples that are broken?  I'm just looking for some
"embedding FOP sample code" esp. for the Object to PDF.
 
If this is the case, is there code other places I could look at.  (for
example the command line tool "fop.bat")
 
Thanks,
 
-Will

>>> dev.jeremias@greenmail.ch 11/12/2003 9:45:56 AM >>>

Hi Will

All examples using the Driver.getContentHandler() approach are broken
at
the moment. I've managed to fix part of it but there is a remaining
problem I hope we can get rid off soon.

If you're interested in what's going on in the development please
subscribe
to fop-dev and fop-cvs (both not very high traffic). You will be able
to
track the progress. Obviously, we also appreciate a helping hand.

Thanks for the feedback.

On 12.11.2003 17:35:03 Will Peterson wrote:
> I'm having problems using the "snapshot" builds of FOP.
>  
> In the past I have used FOP 0.20.5, and it worked great! ... I used
it
> both from the command line, and by embedding the FOP driver into a
> program I wrote.
>  
> Lately, I have wanted to upgrade to the latest in order to see the
> latest RTF rendering. (Which I know is still in the works)
>  
> At first, I downloaded a snapshot of the latest code and integrated
the
> code into my program.  But noticed it didn't work (even w/ just PDF
> rendering).  I also noticed the "embedding" examples don't work. 
They
> render PDF files, but the files can't be opened by Adobe Reader.
(But
> they work fine in the 0.20.5 release)
>  
> I also tried downloading the CVS build, but had the same problem
with
> the examples.
>  
> (I did however, run FOP from the command line successfully)
>  
> I'm just trying to figure out how I can determine if a build is "in
a
> good state".  I have tried reading through the bug lists but have had
no
> luck in finding the information I need.  I basically want to figure
out
> how to do a Obj2PDF example (embedding the code).

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org



RE: Is the current build of FOP broken?

Posted by Peter Herweg <ph...@web.de>.
> A big problem I can currently see is that all normal text has white
> color, so initially you see practically nothing. Selecting all text and
> applying black color brings the text to light.

Yes, i can confirm that behaviour. A simple example looks good in Word
97/2000,
but Wordpad displays the text as white color.
This seems to be caused by the \colortbl group.

Thank you for reporting. I'am going to fix it.

Peter Herweg


RE: Is the current build of FOP broken?

Posted by Victor Mote <vi...@outfitr.com>.
Jeremias Maerki wrote:

> Yep, current CVS code generates working RTF code (on my machine). I've
> opened readme.fo (-->readme.rtf) in Wordpad and OpenOffice, for example.
> A big problem I can currently see is that all normal text has white
> color, so initially you see practically nothing. Selecting all text and
> applying black color brings the text to light. I can't comment on the
> coverage of the supported features (FO or RTF) but I think the code goes
> off in a good direction. Hopefully Peter Herweg or Betrand could comment
> here.
>
> On 15.11.2003 14:45:31 Glen Mazza wrote:
> > Incidentally, for 1.0, I had difficulty in getting RTF
> > to work with simple FO documents.  It seems to
> > generate an RTF-based script, but Windows isn't
> > accepting it on my machine. Wordpad just opens it up
> > as text, showing the underlying RTF script-code.  Has
> > anyone else tried the 1.0 RTF renderer?

I also can confirm that RTF is generally working out of 1.0. I haven't
tested it since the latest round of patches from Peter, but I can open them
in MS Word & they look fine except for features that aren't implemented.

Victor Mote


Re: Is the current build of FOP broken?

Posted by Jeremias Maerki <de...@greenmail.ch>.
Yep, current CVS code generates working RTF code (on my machine). I've
opened readme.fo (-->readme.rtf) in Wordpad and OpenOffice, for example.
A big problem I can currently see is that all normal text has white
color, so initially you see practically nothing. Selecting all text and
applying black color brings the text to light. I can't comment on the
coverage of the supported features (FO or RTF) but I think the code goes
off in a good direction. Hopefully Peter Herweg or Betrand could comment
here.

On 15.11.2003 14:45:31 Glen Mazza wrote:
> Incidentally, for 1.0, I had difficulty in getting RTF
> to work with simple FO documents.  It seems to
> generate an RTF-based script, but Windows isn't
> accepting it on my machine. Wordpad just opens it up
> as text, showing the underlying RTF script-code.  Has
> anyone else tried the 1.0 RTF renderer? 


Jeremias Maerki


Re: Is the current build of FOP broken?

Posted by Glen Mazza <gr...@yahoo.com>.
Incidentally, for 1.0, I had difficulty in getting RTF
to work with simple FO documents.  It seems to
generate an RTF-based script, but Windows isn't
accepting it on my machine. Wordpad just opens it up
as text, showing the underlying RTF script-code.  Has
anyone else tried the 1.0 RTF renderer? 

Glen

--- Jeremias Maerki <de...@greenmail.ch> wrote:
> No, the examples are quite ok actually. It's the
> Driver class that has a
> problem in getContentHandler(). Sorry for not being
> clear enough. By the
> way, you mentioned you're interested in RTF output
> which shoudn't be
> affected by this problem. The code in ExampleObj2PDF
> should work fine if
> you use RTF output (or any other structure
> renderer).
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

Re: Is the current build of FOP broken?

Posted by Jeremias Maerki <de...@greenmail.ch>.
No, the examples are quite ok actually. It's the Driver class that has a
problem in getContentHandler(). Sorry for not being clear enough. By the
way, you mentioned you're interested in RTF output which shoudn't be
affected by this problem. The code in ExampleObj2PDF should work fine if
you use RTF output (or any other structure renderer).


On 15.11.2003 01:07:47 Will Peterson wrote:
> Is it just that samples that are broken?  I'm just looking for some
> "embedding FOP sample code" esp. for the Object to PDF.
>  
> If this is the case, is there code other places I could look at.  (for
> example the command line tool "fop.bat")



Jeremias Maerki