Hey, I don't like doing stuff twice or more times. Each output format has its own specifics and there are limits to what extent commonalities can be extracted. For example, some formats don't support free-form transformations. In PCL, it's impossible to write a Graphics2D implementation that doesn't end up using bitmaps instead of native commands to paint the individual elements. Actually, that fact is exactly the point what's concerning me most if I think about a new intermediate format which will result in a different kind of abstraction for the rendering components.
On 15.01.2008 23:18:07 Andreas L Delmelle wrote: > On Jan 15, 2008, at 17:53, Jeremias Maerki wrote: > > Hi guys > > Sorry to interrupt (currently being completely AFP-agnostic :-)) > > > Thanks for the feedback. It's certainly cool if you can make a single > > SVG (or other graphic) a separate resource group that can > > potentially be > > reused. It's something I'd like to do for PDF at some point. > > I do hope Adrian read this as: > "By all means, if you can extract logic and put it in > AbstractRenderer, go right ahead." ;-) > > Seriously, this would be beneficial to all renderer types, so some of > it at least deserves a place at the higher level. > > Just my two cents. > > Cheers > > Andreas Jeremias Maerki