Re: More on external graphics

2011-12-16 Thread Vincent Hennebert
Hi Samuel, You have already figured out how to avoid the problem, but FYI, what you are witnessing is the result of a bug in the code that handles pages of different widths (the infamous Changing IPD feature). That bug appears to have been fixed in Trunk but I don’t remember when. Unless you have

Re: More on external graphics

2011-12-16 Thread Samuel Penn
On Friday 16 December 2011 10:17:32 Pascal Sancho wrote: > Hi Samuel, > > I don't understand what you mean by "if I take 1mm off the left margin > on right hand pages..." > Can you provide a short snippet to illustrate, please? Take the following definitions for left and right pages (these can be

Re: More on external graphics

2011-12-16 Thread Pascal Sancho
Hi Samuel, I don't understand what you mean by "if I take 1mm off the left margin on right hand pages..." Can you provide a short snippet to illustrate, please? I know there is a bug in inline-progression-dimension computation when using 'mm' or 'cm' as unit, that can cause trouble when using inv

Re: More on external graphics

2011-12-16 Thread Samuel Penn
On Thursday 15 December 2011 23:50:54 Luis Bernardo wrote: > On 12/15/11 7:44 PM, Samuel Penn wrote: > > For some reason, if I tweak the margins a bit, then the image problem > > comes back. I did remove the negative margins whilst testing the > > example I sent, and it made no difference, so it se

Re: More on external graphics

2011-12-16 Thread Pascal Sancho
Sorry, this was addressed to Samuel Le 16/12/2011 09:50, Pascal Sancho a écrit : > Hi Luis, -- Pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgra

Re: More on external graphics

2011-12-16 Thread Pascal Sancho
Hi Luis, I tried your initial FO (with negative margin) against FOP 1.0 and FOP trunk: FOP 1.0 is buggy while FOP trunk works as expected. In addition, note that with fo:external-object or fo:instream-foreign-object, there are half-leading before and after, that depend on font-size and line-height

Re: More on external graphics

2011-12-15 Thread Luis Bernardo
On 12/15/11 7:44 PM, Samuel Penn wrote: On Thursday 15 December 2011 00:26:43 Luis Bernardo wrote: Your page definitions (margins, paddings, and so on) may be part of the problem. Negative margins in a page are suspicious to me... I probably had a reason for that, but I did that 10 years ago, s

Re: More on external graphics

2011-12-15 Thread Samuel Penn
On Thursday 15 December 2011 00:26:43 Luis Bernardo wrote: > Your page definitions (margins, paddings, and so on) may be part of the > problem. Negative margins in a page are suspicious to me... I probably had a reason for that, but I did that 10 years ago, so I don't remember why. > I fixed your