Michael Koch wrote:
On Thu, Mar 10, 2005 at 10:28:08PM +0100, Wolfgang Baer wrote:Which one to use ? g2d.setStroke( pi.strokeStroke ); ?? As said, I have no knowledge with awt - so if anyone can provide the "right" solution I would prepare a new fop upload with the patch. A batik 1.5.1 is already prepared.Can you perhaps look into the old batik what value GVTAttributedCharacterIterator.TextAttribute.STROKE has ? What solution does fop CVS use ? (if they work with updated batik already).
That was the hint I needed :-) fop is in a redesign phase - but I found something in the dead cvs section on the 0.20.2 maintainance branch. There is exactly the same patch shortly after batik 1.5.1 was released. If you want to have a look: http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/svg/ PDFTextPainter.java?hideattic=0&r1=1.7.2.4&r2=1.7.2.5&only_with_tag=fop-0_20_2-maintain They use the strokeStroke variable from TextPaintInfo. So I will start preparing the packages tomorrow. Thanks, Wolfgang