gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash/server edit_text_character.cpp


From: Sandro Santilli
Subject: Re: [Gnash-commit] gnash/server edit_text_character.cpp
Date: Fri, 20 Jul 2007 16:12:44 +0200

On Fri, Jul 20, 2007 at 03:03:48PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Friday, July 20, 2007, 2:06:32 AM, you wrote:
> SS>         prepared for applying color transform to border and
> SS> background (but isn't working so the block is
> SS> disabled (need help from Udo most likely
> 
> How can I help?

Set if (0) to if (1) and see what happens with the attached movie.
It seems that the color transform (for which we have no specific
testcases) results in a gray color always (r,g,b flattened).

> 
> SS> +               if ( 0 ) // should be if ! isDynamic to be
> SS> PP-compatible (or is it about device font? to be
> SS> tested)
> 
> Why (!isDynamic) ? Should not make any difference, ie. you can always
> apply cxform to a dynamically created (createTextField) text field.

This is a dumb pp compatibility thing. I think flash coders are happy to
have this feature implemented, but the pp seems immune to color transforms+FSF
applied to dynamic textfield (or device font) colors (including background and
border).

> 
> SS> +                        // Currently disabled due to what looks like a 
> bug in color transform
> 
> Can you explain?

See the attached file and try it out.
(build with makeswf)

--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 

Attachment: TextFieldColor.as
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]