On 13 Jun 2011, at 21:50, honyk wrote:

Hi Jan

> I use external graphics (SVG) in my FO document and when it is processed
> with FOP, color definition of some texts is ignored (they are black in the
> output).
> I can see the correct result in common browsers as well as in the Batik
> Squiggle utility.
> I think it is somehow connected to the transformation. Especially it happens
> at third sibling of the same group.
> 
> Reduced SVG test case with FO file and final FOP output can be found at
> http://hroska.cz/other/test_case_fill.zip
> 
> I use Fop - nightly build on Win7/64 bit + Java 6.
> 

Strange indeed. Thanks for the test case. I can confirm the issue on OS X / 
Java 6.
I did a quick debug in o.a.f.svg.NativeTextPainter, and watching the 
GlyphVectors' TextPaintInfos, the fillPaint seems to be correct for all 
TextRuns. I do not have the time to dig deeper right now, but this definitely 
looks like a bug.
Would you mind entering a Bugzilla report(*), and attaching your test case 
there, so we do not lose track of it? Thanks!


(*) https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop

> All the a, b, c, d labels should be red (first two are red, the rest is
> black)
> All the Text (1, 2, 3) should be white (first two are white, the third is
> black)
> 
> Is there any workaround? 

None that I know of... Anyone?


Regards

Andreas
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to