DO NOT REPLY [Bug 47872] MalformedURLException while using FontLoader#loadFont(File, ...)

2009-09-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47872 Max Berger m...@berger.name changed: What|Removed |Added Status|NEW |RESOLVED

Re: When must the structure tree be output in the PDF file?

2009-09-24 Thread Vincent Hennebert
Jeremias Maerki wrote: Not just like that (if at all). The content items being produced inside the page-sequence have to be linked into the structure tree. There are links (MCIDs) back and forth between the structure tree and the content streams. You have to have the structure tree available

Best Interface for reading OpenType Files

2009-09-24 Thread Alexander Kiel
Hi, I currently thinking about the interface to use for reading OpenType files. There are two possibilities: - reading on top of an InputStream or - reading on top of a RandomAccessFile or FileChannel. Currently the implementation in FOP uses the class FontFileReader which expects an

Re: When must the structure tree be output in the PDF file?

2009-09-24 Thread Jeremias Maerki
Ah, I see. Essentially, you're stuck in the case where the IF is loaded from XML in which case the user agent hasn't received the structure tree, yet. So, to visualize this: Direct Rendering: - Reduced FO tree is built using XSLT and set on the user agent - DocumentHandler.startPageSequence is

Re: Best Interface for reading OpenType Files

2009-09-24 Thread Jeremias Maerki
On 24.09.2009 17:53:29 Alexander Kiel wrote: Hi, I currently thinking about the interface to use for reading OpenType files. There are two possibilities: - reading on top of an InputStream or - reading on top of a RandomAccessFile or FileChannel. Currently the implementation in

Re: Best Interface for reading OpenType Files

2009-09-24 Thread Alexander Kiel
Hi Jeremias, On Thu, 2009-09-24 at 21:06 +0200, Jeremias Maerki wrote: Right, and that accounts for a pretty large portion of FOP's memory consumption problem nowadays. With the use of OpenType fonts, this gets worse as they can be quite big. I'm glad you noticed that. Yes, but currently I