Hi Vincent, Thanks for your response. But I want to change to FOP 0.94 (or 0.95) to transform XML files en PDF/A files (this isn't possible with FOP 0.20.5). We use FOP in a progiciel to edit dynamic documents. Our clients use our progiciel to edit or send letters or documents to their clients. They want to send PDF/A documents to replace PDF documents. Its must be same documents, our clients don't want to test all their letters or documents to adapt for the new presentation.
Have you an other idea ? Thanks Sylvie. -----Message d'origine----- De : Vincent Hennebert [mailto:[email protected]] Envoyé : lundi 26 janvier 2009 16:56 À : [email protected] Objet : Re: break line 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]
