Re: FOP - AFP Rendering in OCR-B

2010-10-07 Thread Jeremias Maerki
Hi Peter Incidentally, I had to look into IBM's TypeTransformer for a client recently. I haven't gone the raster font route. I had some problems there. Instead, I produced an outline font from a Type 1 font. Here's what I did: - Choose a Type 1 font in TypeTransformer (I took Sansa-Normal) -

AW: Multi and Single Column layout on same page

2010-10-07 Thread Georg Datterl
Hi Loralon, HTH: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:fox=http://xmlgraphics.apache.org/fop/extensions; fo:layout-master-set fo:simple-page-master master-name=x fo:region-body column-count=2/

Re: AW: AW: AW: Identifying absolute position of a FO:Block

2010-10-07 Thread Jeremias Maerki
There's currently no way to calculate the absolute coordinates. All coordinates in the Area Tree XML are relative. To solve this, a special Renderer subclass (possibly subclassed from AbstractPathOrientedRenderer) would have to be written. Maintaining the right nested AffineTransforms (like done

AW: AW: AW: AW: Identifying absolute position of a FO:Block

2010-10-07 Thread Georg Datterl
Hi mithunk, After generating the area tree you know exactly on which page the signature block is. If you get two pages with a block having your signature id, the signature block is obviously split. In that case, the second block has to start at (0/0). If you add bpda of ALL previous blocks,

Re: FOP 1.0 TIFF Image Black Pages and Poor Image Quality

2010-10-07 Thread Jeremias Maerki
I've produced the attached TIFF image with FOP Trunk (pretty much equivalent to FOP 1.0) with practically the same configuration as you, except for the transparent-page-backgroundtrue/transparent-page-background which you should remove. If by poor quality you mean the bi-level rendering by using

Re: Postscript - Helvetica

2010-10-07 Thread Jeremias Maerki
The built-in Helvetica (part of the base 14 set) only supports WinAnsi encoding as you noticed. If you explicitely configure and embed the Helvetica Type 1 font, I expect FOP to handle all characters/glyphs found in the font file. You'd need to add the following to your config file: font

Re: Creating PDFs with fields using FOP

2010-10-07 Thread Peter Hancock
Hi Mithun, I have been working on implementing AcroForms in FOP - see http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg15037.html Unfortunately other commitments have not allowed me to ready the work for submission to the community, although I have recently been tasked to complete