Jeremias, thank you for your assistance! I need barcode rendering for PS and PDF so I decided to make the patching as you described below.
Everything works fine now! Thanks again Holger Am Freitag, 11. März 2005 11:32 schrieb Jeremias Maerki: > Yes, this is a known bug in FOP 0.20.5. The SVG subsystem lacks support > for a certain basic paint operation (QUADTO) which is used when painting > text as shapes. > > I've got a work-around I did for a customer which is also much faster > because it directly embeds the barcode as EPS into the PostScript file > instead of going via SVG/Batik. It is described here: > http://barcode4j.krysalis.org/fop-ext.html#The+special+FOP+extension+%28for >+experienced+developers+only%29 > > Note that I have no problem giving this to you but I won't provide any > (free) support for it. > > The other possibility is that you backport the necessary change from CVS > HEAD into your copy of FOP 0.20.5. The missing part is this: > > http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/render/ps >/PSGraphics2D.java?rev=1.13&view=markup > > Look for the method processPathIterator() and port the part for > "PathIterator.SEG_QUADTO" back into FOP 0.20.5. There's also a > PostScript macro that needs to be ported: > > http://cvs.apache.org/viewcvs.cgi/xml-fop/src/java/org/apache/fop/render/ps >/PSProcSets.java?rev=1.10&view=markup > > Look for "/QUADTO". This part is in PSRenderer.writeProcs() in FOP > 0.20.5. > > On 11.03.2005 11:14:53 Holger Dehnhardt wrote: > > Hi, > > > > I downloaded the Barcode4J files and installed everything (which is quite > > easy!) and nearly all works perfect -only the 'human readable section' > > below Code39 and Code128 is not (human;-) readable in the postscript > > format. > > > > (Attached is a bzipped postscript-file) > > > > When I generate PDF everything looks fine. > > I tried to change the font name - but that doesn't solve the problem. > > > > Any hints? > > > > Holger > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]