Re: How to determine page position of current and last table-row?

2002-11-18 Thread Oleg Tkachenko
Petr van Blokland wrote:
I try to add new fonts to fop. According to the site this should be done
with the instruction below. I run this on OSX 10.2
Does anyone has an idea why this creates a OutOfMemoryError?
[titanm:/xpyth/FOP/fop-0.20.4] petr% java -cp  
build/fop.jar:lib/xercesImpl-2.0.1.jar:lib/xml-apis.jar:lib/xalan- 
2.3.1.jar:lib/batik.jar org.apache.fop.fonts.apps.PFMReader  
/xpyth/python/site-packages/reportlab/fonts/PrBk_.pfb  

productusbook.xml
PFM Reader v1.1
Reading /xpyth/python/site-packages/reportlab/fonts/coo_.pfb...
H, how come here is coo_.pfb, but you said run it with 
PrBk_.pfb?

Exception in thread main java.lang.OutOfMemoryError
no stack trace available
Well, this exception I see second time and still don't get it. What 
could be a reason? Sounds like either JVM unable to allocate memory for 
the whole font file or font file is broken as PFMReader reads file size 
 from the file itself.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


RE: How to determine page position of current and last table-row?

2002-11-15 Thread Victor Mote
Markus Müller wrote:

 Hi,
 is it possible to determine if the current table row is the first
 one a new
 page?

There is certainly no way to do this when generating the XSL-FO document,
because it cannot possible have any idea what the layout will be. What are
you trying to accomplish?

Victor Mote



Re: How to determine page position of current and last table-row?

2002-11-15 Thread Petr van Blokland
Hi,
I try to add new fonts to fop. According to the site this should be done
with the instruction below. I run this on OSX 10.2
Does anyone has an idea why this creates a OutOfMemoryError?
[titanm:/xpyth/FOP/fop-0.20.4] petr% java -cp  
build/fop.jar:lib/xercesImpl-2.0.1.jar:lib/xml-apis.jar:lib/xalan- 
2.3.1.jar:lib/batik.jar org.apache.fop.fonts.apps.PFMReader  
/xpyth/python/site-packages/reportlab/fonts/PrBk_.pfb  
productusbook.xml
PFM Reader v1.1

Reading /xpyth/python/site-packages/reportlab/fonts/coo_.pfb...
Exception in thread main java.lang.OutOfMemoryError
no stack trace available
[titanm:/xpyth/FOP/fop-0.20.4] petr%
Kind regards,
Petr van Blokland
[EMAIL PROTECTED]