Re: How navigate/scroll inside the PreviewPanel

2008-01-10 Thread Benjamin Wohlwend

Hi,


Giulio Buccini wrote:
 
 Returning to your point, there are not so much free PDF viewer implemented
 in Java. Most of them are becomed commercial products while the others are
 really poor and bad implemented.
 I have adopted the JPedal Standard implementation (the one that is free):
 no documentation but a terrible simple application used as reference for
 free-users (it seems like an old old old old C code translated in java -
 can you imagine what a mess?? Mamma mia!).
 

I don't know if it helps, but Sun released a free (LGPL) PDF renderer a few
weeks ago. It is implemented completely in Java, you can render the document
on arbitrary Swing components, on a Graphics2D context or in an image. I
don't know if the API is reasonable, but the examples look quite straight
forward.

https://pdf-renderer.dev.java.net/

Kind regards,

Benjamin Wohlwend
-- 
View this message in context: 
http://www.nabble.com/How-navigate-scroll-inside-the-PreviewPanel-tp14515390p14743247.html
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem with experimental PDF in PDF from trunk

2007-11-07 Thread Benjamin Wohlwend

Hi,

I was delighted when I read about the experimental PDF-in-PDF support as we
experience a bit of a performance problem with embedding SVG. But
unfortunately, the embedded PDF is not visible. The border around it has the
right dimensions, but the content is not there.

The SVG/PDF which we embed is generated by ReportLab. I don't have access to
a PDF validator, so I'm not really sure if ReportLab generates valid PDF
output (I now that their SVG output is not always perfect, though) Here's an
example:

http://www.piquadrat.ch/pie.pdf

The FO: http://www.piquadrat.ch/fop.xml, and the resulting PDF:
http://www.piquadrat.ch/fo.pdf

FOP is from a SVN checkout I made yesterday. I put fop-pdf-images-1.0.jar
and PDFBox-0.7.4-dev.jar in lib/. When using the command line, no error
messages are displayed.

Kind regards,

Benjamin Wohlwend


-- 
View this message in context: 
http://www.nabble.com/Problem-with-experimental-PDF-in-PDF-from-trunk-tf4764384.html#a13626131
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



margin on inline elements

2007-08-15 Thread Benjamin Wohlwend
Hi,

I'm evaluating FOP 0.93 since a few days (together with CSSToXSLFO for HTML-PDF
conversion) and have to say that I'm really impressed so far. But there are a
few problems that prevent my documents from really looking great. One particular
problem is that FOP seems to ignore margins on inline elements. An example:

|fo:block
|  fo:inline margin-left='0pt' 
margin-right='100.0px'foo/fo:inlinebar
|/fo:block

This appears in the PDF as foobar. renderX's XEP renders it as expected (by
me, anyway) as foo___bar.

I skimmed through the XSL-FO spec but couldn't find out if margins are even
allowed on inline elements.

Is this expected behaviour? 

Best regards,

Benjamin Wohlwend  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]