Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Chris Bowditch
Jeremias Maerki wrote: snip/ So here are the proposed changes: - Package org.apache.fop.render.awt becomes org.apache.fop.render.java2d - AWTRenderer.java becomes Java2DRenderer.java (AWT*.java - Java2D*.java) I think the viewer subpackage can stay as is under the renamed package. Any objections?

Re: another nose for the grindstone

2005-02-22 Thread Renaud Richardet
Mark, just let me know when you'll start to work on it. Clay, sorry for not making clear that i needed the maintenance code for reference. Jeremias, thanks for the pointer i'm not sure about the following. please correct me if i'm wrong: the (currently named) AWTRenderer allows 3 different kinds

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Christian Geisert
Jeremias Maerki schrieb: Now that we've got someone who will work on the AWT Renderer I'd like to know if someone is against renaming the AWT Renderer to Java2D Renderer. [..] Any objections? Not at all. Christian

Re: another nose for the grindstone

2005-02-22 Thread Jeremias Maerki
On 22.02.2005 12:43:56 Renaud Richardet wrote: Mark, just let me know when you'll start to work on it. Clay, sorry for not making clear that i needed the maintenance code for reference. Jeremias, thanks for the pointer i'm not sure about the following. please correct me if i'm wrong:

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread The Web Maestro
On Feb 21, 2005, at 11:03 PM, Jeremias Maerki wrote: So here are the proposed changes: - Package org.apache.fop.render.awt becomes org.apache.fop.render.java2d - AWTRenderer.java becomes Java2DRenderer.java (AWT*.java - Java2D*.java) I think the viewer subpackage can stay as is under the renamed

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Glen Mazza
--- Jeremias Maerki [EMAIL PROTECTED] wrote: Now that we've got someone who will work on the AWT Renderer I'd like to know if someone is against renaming the AWT Renderer to Java2D Renderer. AWT Renderer has a rich history within FOP, it's a popular renderer, and I have not heard of any

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread The Web Maestro
On Feb 22, 2005, at 8:16 AM, Glen Mazza wrote: --- Jeremias Maerki [EMAIL PROTECTED] wrote: Now that we've got someone who will work on the AWT Renderer I'd like to know if someone is against renaming the AWT Renderer to Java2D Renderer. AWT Renderer has a rich history within FOP, it's a popular

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Jeremias Maerki
On 22.02.2005 17:16:56 Glen Mazza wrote: snip/ Now, if you want to create a Java2DRenderer as a abstract base class for Renderers utilizing it--AWTRenderer, AWTPrintRenderer, SVGRenderer, TIFFRenderer, etc., that would appear to make a lot more sense. Consider that before you tie

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Glen Mazza
--- Jeremias Maerki [EMAIL PROTECTED] wrote: A veto would have been easier. :-) I would simply have stopped and said: Sigh. Again. Ok, next task. Yes, but the change proposed simply doesn't rise to the level of a veto. Would it be more interesting/agreeable if we would leave the

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Jeremias Maerki
Deal. It seems like we want the same things but didn't understand each other. I hope we do now. I've documented all this in a Wiki page: http://wiki.apache.org/xmlgraphics-fop/FopAndJava2D You said that we name our renderer on the final output the user sees. So I also added a print and bitmap

AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Renaud Richardet
bonjour fop-dev's i've been walking through the rendering process. if i understand it rightly, an area doesn't records it's absolute position. therefore, we have to pass the currentIPPosition, currentBPPosition all along during the rendering process to figure out where to position an area. what i

Re: AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Jeremias Maerki
Salut Renaud I wondered about that, too: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]by=threadfrom=984481 So far, I can only say that there's so mandatory reason for that change. It would certainly make the renderers simpler but there might be problems in other areas. The real downside

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Glen Mazza
--- Jeremias Maerki [EMAIL PROTECTED] wrote: Deal. It seems like we want the same things but didn't understand each other. I hope we do now. I've documented all this in a Wiki page: http://wiki.apache.org/xmlgraphics-fop/FopAndJava2D Looks good! Now whether you wish to do this before

Re: AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Renaud Richardet
hello Jeremias merci for the informations. I wondered about that, too: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]by=threadfrom=984481 interesting! Victor, in [1] you talked about dealing with the positioning of areas during the AreaTree building. could you point me to the classes

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Renaud Richardet
Glen Mazza [EMAIL PROTECTED] wrote: Looks good! Now whether you wish to do this before or after Renaud moves the logic over is up to you two. There's advantages/disadvantages to either method. yes, that looks good! Jeremias, if it's ok for the team, i would apreciate if you would do the

Re: AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Jeremias Maerki
On 22.02.2005 22:35:15 Renaud Richardet wrote: snip/ So far, I can only say that there's so mandatory reason for that change. It would certainly make the renderers simpler but there might be problems in other areas. The real downside is when you have to do the same calculations in every

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Jeremias Maerki
Given the new layout I don't even need to prepare anything. It would only complicate things. Just rename the AWTRenderer to Java2DRenderer, move it to the new location, then create an empty subclass of Java2DRenderer called AWTRenderer and move any AWT-dependant code to that subclass. On

RE: AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Victor Mote
Renaud Richardet wrote: Victor, in [1] you talked about dealing with the positioning of areas during the AreaTree building. could you point me to the classes in FOray that handle that logic? ... [1] http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] l.apache.orgmsgNo=10534 Hi

Re: AWTRenderer: getting the absolute position of an area

2005-02-22 Thread Renaud Richardet
Victor, thanks for your explanations. i'll give a look into FOray when i'll feel more confident about the layout process. cheers, Renaud

Re: Renaming the AWT Renderer to Java2D Renderer

2005-02-22 Thread Glen Mazza
We can do it this way. But on second thought, I think it would be better for Renaud to move it in as AWTRenderer, and slowly start factoring out more and more while things are getting settled. BTW, this will take some time to do anyway--it isn't easy because the renderers are so different