Re: [afp-renderer-users] Difference in AFP and PDF borders
Brought to you by:
towny,
tumbarumba
From: Joe S. <jo...@ex...> - 2005-03-11 22:47:02
|
On Fri, 2005-03-11 at 13:43, steve beattie wrote: > Hi All, > First of all thanks to all involved for the AFP Renderer, most useful. > We're in the process of testing it prior to it being used in a > production Unix/Mainframe environment. So far we only have one > problem... > > We have one set of xsl:fo that is converted into PDF via FOP and into > AFP via the AFP Renderer. The AFP is eventually FTPed to our > mainframe where it's printed. The xsl:fo has the following block of > code:- > > <fo:block background-color="#ffffff" border-color="#000000" > border-style="none" border-width="0pt" font-size="10pt" > margin-bottom="0.3in" margin-left="0.1in" margin-right="0.1in" > margin-top="0.1in" width="100%"> > On the top of all pages... > </fo:block> > > In PDF the border doesn't print, but in AFP it does. Ideally we would > like PDF and the AFP to be the same. Now I know we can remove the > border attributes, but the xsl:fo is produced by a third party tool, > so we have a few hoops to jump throught to get them to remove all the > border commands!! That sounds suspiciously like a bug. I'll try and reproduce the problem locally, but unfortunately I don't have much time for hacking at the moment, and Pete is on holidays for a few more weeks yet. If your implementation timescale is less than a month, you'll probably need to look at removing the border (sorry!) Of course, any other volunteers are always welcome to submit a patch ;-) Cheers, Joe |