Re: cvs commit: xml-fop/src/java/org/apache/fop/area AreaTreeHandler.java

2005-02-06 Thread Glen Mazza
I just took care of it--you may need to refresh PSLM in the marker patch though as I did some minor changes in that class as well. BTW, I'd like to remove "String getCurrentPageNumber();" from the LayoutManager interface and replace it with "PageSequence getCurrentPageSequence()". The latter offe

Re: Markers added to the wrong page

2005-02-06 Thread Jeremias Maerki
Glen, no, I'm afraid the isBogus() method is necessary because it checks the parent LM. In the markers6a.xml example (for which I still have to write the checks, I just found out), the block in the third cell of the fifth row has an effective BPD of 0 and therefore fits nicely into the available s

Re: Markers added to the wrong page

2005-02-06 Thread Glen Mazza
OK...I see its purpose now. But please put in a descriptive comment for isBogus() in AbstractLayoutManager so others down the road understand what it means and what it is for. Glen --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Glen, > > no, I'm afraid the isBogus() method is necessary > bec

Problems with layoutengine test files

2005-02-06 Thread Simon Pepping
Hi Jeremias, I have errors with the layoutengine test files, for example: text-decoration1.xml(org.apache.fop.layoutengine.LayoutEngineTestSuite$1)java.lang.RuntimeException: Expected XPath expression to evaluate to 'line-through', but got 'li' (XPath: //flow/block[3]/lineArea/inlineparent[1]/tex

Re: Markers added to the wrong page

2005-02-06 Thread Simon Pepping
Jeremias, I do not have much time to look into your problem, so I will just try to give a quick answer. In my view the current BP setup is not able to generate good page break decisions. It only can do a first-fit algorithm. From your account, BPs are also overloaded to signal the completion of a

Userconfig.xml for FOP within an applet.

2005-02-06 Thread Manoj_Nair
As you might know I have successfully got the Japanese fonts to be displayed on PDF  by using the userconfig.xml file to load the MSGOTHIC.TTF fonts. In this case I was running a servlet which used FOP to convert the XML file on the webserver ( weblogic) to PDF and then open it using acrobat. I wan