I didn't mention that I'm developing on linux, in part because most users are on Windows and Macs. I did mention that I'm running fop-1.0 from code I downloaded about a year ago. It's the official 1.0 release I believe. Certainly not from svn.
I'm just using the generate IF to get the size of a particular fop-table. I use that value to dynamically size region-before or region-after. Because I'm not using the IF to generate a pdf, I don't need to mimic. And it's been a while but I'm pretty sure using mimic in my case just blows up. Again, because I don't want to go past IF generation. On 12/12/2011 10:08 PM, Craig Ringer wrote: > On 13/12/11 13:00, Rob Sargent wrote: >> Well thanks Craig. That might be good news, indeed. Are you positive >> the value of the param isn't defaulted when you're generating IF, not >> pdf. They sure don't kick in for me, but I'm not using the "mimic" >> stuff. Is that the crux of the issue? > Yes, I'm absolutely certain the parameters are properly applied. If they > were not then none of the images would get inserted into my PDFs as the > main parameter given is used, among other things, as a prefix for image > URIs. > > As for mimic: As per the documentation, you must tell the IF renderer to > mimic a particular output format if you want the layout generated for > the IF to be appropriate for feeding back into fop to generate the final > format later. Otherwise, because different output formats have different > fonts with different font metrics, you'll get funky spacing issues in > your text. I guess it might be OK to go without if you don't intend to > feed the IF back into fop at all, but I'd still want to know which > format's metrics I was using. > > What's your environment? Which version of fop are you using? (You should > always mention this sort of thing when asking any kind of question). > > -- > Craig Ringer --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
