On 21.10.2008 17:46:16 Maximilian Gaerber wrote:
> Hi,
> 
> Jeremias Maerki schrieb:
> > No, the PDF image extension is something else. That's an adapter to
> > integrate external PDFs.
> Ok.
> >  I believe this should be included directly into
> > the PDFRenderer like I started it. However, since I don't know what a
> > "spread layout" is, and what exactly you really need overall, I'm not
> > sure if I see the whole picture, yet. 
> Well, spread layout is not my highest priority but in InDesign for 
> example, you can treat a set of pages (usually two of them facing each 
> other) as if they were one page. So you can place an image that spans 
> both pages (often used in magazine layouts). The thing is that there is 
> still a page flow (between the spread pages) and when you produce a PDF, 
> there are actually two Trim Boxes as well.

Tricky. XSL-FO doesn't support that out-of-the-box. It is in the XSL 2.0
requirements: http://www.w3.org/TR/2008/WD-xslfo20-req-20080326/#N66638

> > Anyway, you certainly need to
> > specify the amount of bleed (what I started). My patch uses
> > fox:bleed="4mm" (as an example) on the fo:simple-page-master. Then, you
> > might want to specify the actual media size which could be done as
> > fox:media-width and fox:media-height, following the same pattern as with
> > fox:bleed.
> Yes, this exactly what is needed.
> >  Like Oliver, you will probably need to paint cut marks once
> > you start using bleed. I have some ideas there. Let's get to that when
> > the first steps are done. So far, I don't see anything too complicated
> > for you.
> >   
> Yes, I've seen an example of using SVG to draw the crop marks. I guess 
> this should suffice.

Yes, although some Graphics2D code in Java is probably much faster.
We'll see. We can start with SVG for simplicity and optimize when
necessary.

> > Finally, you need to be able to paint outside the trim box. That's easy,
> > since you can always use negative coordinates or spaces. I hope that
> > helps.
> >   
> Ok.
> > Let me know if I have an incomplete picture.
> >   
> I guess so. So be prepared to get a bunch of  newbie dev questions ;-)

I was well aware of that when I started motivating you to become a
contributor. That's part of keeping FOP alive: recruiting new people,
because we're very much in need of new blood. The problem with old,
established projects: no hype anymore, many users, so few developers,
but still so much fun to be had.

> Regards,
> 
> Max
> 
<snip/> 


Jeremias Maerki


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

Reply via email to