Hi Sylvie, Michonska Sylvie wrote: > Hello, > > We upgrade FOP from 0.20.5 to FOP 0.94. We use FOP to transform XML files to > PDF files. We don't have the same graphic results : > - different line breaks > - different interlines. > > How can we obtain the same graphic results ?
The answer is short: you can’t. FOP 0.94 follows the XSL-FO Recommendation much better than FOP 0.20.5 did. If there is any difference between 0.20.5 and 0.94, then 0.94 is likely to be right. This is the case here for line heights. Regarding the different ways paragraphs are broken, this is because FOP 0.93 and onwards implement a line-breaking method that optimizes the layout of each paragraph in its whole, instead of the line-by-line break-as-soon-as-you-can method in FOP 0.20.5. You will probably agree that the 0.94 rendering looks better than the 0.20.5 one (lines are more evenly filled). This means that you will have to modify your stylesheets and adapt them to the new behaviour. It’s probably worth it, as you get much more features with the new versions and will benefit from ongoing improvements, whereas 0.20.5 is no longer supported. If for some reason you absolutely need the exact same results as before, then you will have to stick with 0.20.5. BTW, you probably want to upgrade directly to the latest 0.95 version. <snip/> > > With this fo, we obtain this two PDF Files. > > Thanks for your help. > Sylvie. HTH, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
