Re: [afp-renderer-users] Difference in AFP and PDF borders
Brought to you by:
towny,
tumbarumba
From: Joe S. <jo...@ex...> - 2005-03-14 15:32:32
|
Hi Steve, Curiosity got the better of me, and I made some time to explore your problem. I found a hardcoded rectangle line width in AFPRenderer.java, which is used any time that any type of border is specified. I've created a patch to work around the problem, and confirmed that it works for your example po. I've attached the patch and the corresponding afp-renderer.jar to this email. I'm not going to publish a bugfix release at this stage until Pete can do a proper review, but this might help you get past your current issue. Regarding a (free) afp viewer under Linux, I've got the same issue. I googled without much success. If you hear about anything, I'd like to know. Cheers, Joe On Mon, March 14, 2005 9:45 am, steve beattie said: > Hi Pete, > I've added the border command to the 'simple.fo' example that comes > with FOP, it's appears to be acting the same as our test version at > work, i.e. no border in pdf, but a border in afp. > > Also, can you recommend an afp viewer that will run under Linux? I > use IBM's afp viewer plug-in for IE/Netscape, but I develop on Linux > so changing from Linux to XP just to view the afp is a pain. > > Let me know if you need any more info. > > Cheers, Steve. > > > On Sun, 13 Mar 2005 20:59:19 +0000 (GMT), PETE TOWNSEND > <pet...@bt...> wrote: >> Hi Steve, >> >> Does sound like a bug, if you can send me a complete FO which reproduces >> the >> problem I'll have a look at it on my return to the UK in April. >> >> Cheers, Pete. >> > |