Flash does not support stroked text, so to get the same output on both 
platforms, the text should not be stroked.

It would be good to support text strokes as well for full svg (and canvas) 
support, but that should probably be its own property.

To be clear, Text objects will still have the same fill and stroke properties. 
(and the text fill would be the fill). It’s CompoundShape.drawText() which 
would use a separate color property.

The truth of the matter is, that the fill and stroke properties could be 
changed between drawPath() and drawText() commands, so maybe a separate text 
color property is not necessary.

On Jul 22, 2016, at 4:45 PM, Peter Ent <p...@adobe.com> wrote:

> Hi,
> 
> It might but I can fix that I believe. I recall having the SVG text
> looking too full, but maybe if I set it with no file and stroke only it
> would be fine. I think text should be rendered with stroke and fill,
> optimally.
> 
> ‹peter
> 
> On 7/22/16, 7:15 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> This one is for Peter.
>> 
>> It looks like the text color was being taken from the stroke setting of
>> the element. This does not seem correct to me. For Text, I changed it to
>> use fill and for GraphicsContainer (now CompoundGraphic), I added a
>> textColor property.
>> 
>> Is this going to cause problems with graphs? I was having trouble
>> following the code there.
>> 
>> Harbs
> 

Reply via email to