On 20.06.2003 20:58:58 Glen Mazza wrote: > --- Victor Mote <[EMAIL PROTECTED]> wrote: > > AreaTree > > is not > > renderer-specific, but RenderContext specific. So, > > for example, the same > > AreaTree can be used to generate PostScript and PDF > > output. > > Are you sure? Please read > http://marc.theaimsgroup.com/?l=fop-dev&m=105455951226310&w=2 > (Peter, Jeremias' writing)--they appear to indicate > that the area tree is dependent upon the specific > renderer being used, because of the fonts.
Today, that is so. My idea is to move the font registry out of the renderers in to a font subsystem with multiple font sources. The involved renderers can be asked what font sources they support and so the available set of fonts will be restricted. We've talked about the difficulties of supporting multiple renderers in one processor run before (see archives). Making the font subsystem standalone would make it possible to use the same area tree for the PDF and PS renderers and also make the AT independant of the renderer (I think). > > > Also, while currently it is true that the AreaTree > > creation is somewhat > > bound to the FOTree creation, that is one of the > > things that I think we are > > trying to change (I am anyway). > > currently it's: > > FOP -----> Driver -------> FOTreeBuilder > | | > | | > | | > \/ | > Structure Handler <--- I think now it's: Driver-->FOTreeBuilder-->FOTree-->StructureHandler ---->LayoutEngine-->AreaTree-->Renderer > As in > (1) FOP class determines if the render_type requires > an area tree. > (2) Driver activates the FOTreeBuilder. > (3) Based on the render_type, Driver determines the > type of StructureHandler (AreaTree) that FOTreeBuilder > should send SAXEvents to, and gives it to > FOTreeBuilder. > (4) FOTreeBuilder sends SAX events to the > StructureHandler that was given to it by Driver. It's not directly SAX events but something similar. > I wanted to move to: > > (1) > Doc/Dri > API/Apps --------> FOTreeBuilder ------> its Area > Tree But then, where's the StructureHandler (output to MIF and RTF)? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]