gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #45731] Gnash treats `undefined` line thickness in M


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #45731] Gnash treats `undefined` line thickness in MovieClip.lineStyle() incorrectly
Date: Wed, 17 Feb 2016 17:27:57 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #3, bug #45731 (project gnash):

I have made more test SWFs that tries to use other improbable stroke sizes
like negative number, `Infinity`, `-Infinity`, `NaN`, `null`, non-number
String, numeric String, `true`, `false`, attached as `impossiblestrokes.zip`
(rendering screenshots on Gnash and Flash Player also included).

Gnash seems to render most tests in this set correctly, except the `Infinity`
stroke size; Flash Player treated it as 0 (hairline stroke), but Gnash
treated it like a largest stroke size (255-px).

http://i.imgur.com/KXayjIe.png
This is a correct result from viewing `infstroke.html` on browser with
Flash Player. You'll see that the orange square has a hairline stroking.

http://i.imgur.com/XmGR4K5.png
This is an image result from viewing `infstroke.html` on browser with
current Gnash 0.8.11dev git. You'll see that there's a very thick stroke
around the orange square.

Gnash: 0.8.11dev (git 051aa9c 15-Feb-2016) NPAPI
Flash Player: 11.2 r202 (11.2.202.491) NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386

P.S. Screenshots were captured at 2x of original SWF dimension to emphasize
the difference between hairline stroke and 1-px stroke.


(file #36368)
    _______________________________________________________

Additional Item Attachment:

File name: impossiblestrokes.zip          Size:24 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45731>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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