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: Tue, 11 Aug 2015 06:41:51 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0

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

                 Summary: Gnash treats `undefined` line thickness in
MovieClip.lineStyle() incorrectly
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Tue 11 Aug 2015 01:41:50 PM ICT
                Category: None
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I have created s simple Flash file using MTASC (Flash 8) which tries to draw
an orange-colored square with `undefined` line thickness (no line stroking,
according to docs
<http://docs.brajeshwar.com/as2/MovieClip.html#lineStyle%28%29>).


with(mc) {
        lineStyle(undefined,0x000000,100);
        moveTo(10,10);
        beginFill(0xFF9900);
        lineTo(60,10);
        lineTo(60,60);
        lineTo(10,60);
        lineTo(10,10);
        endFill();
}


But when I viewed the file on Gnash, the square was shown
with hairline stroking instead, which is incorrect.

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

http://i.imgur.com/Zccy8s6.png
This is an image result from viewing `undefstroke.html` on browser with
current Gnash 0.8.11dev git.
You'll notice that there's a hairline-width black stroke around the orange
square.

Test Flash/HTML file, source code, build script and screenshot
of both cases are attached (undefstroke.zip).

Note: Screenshots were captured at 640x480 display size rather than original
320x240 SWF size, to emphasize the fact that it was hairline-width stroke,
not 1-px stroke.

Gnash: 0.8.11dev (git 6b269f9 24-May-2015) NPAPI
Adobe 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 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 11 Aug 2015 01:41:50 PM ICT  Name: undefstroke.zip  Size: 3kB   By:
nachanon
Test Flash/HTML file on undefined line thickness case, with screenshots
<http://savannah.gnu.org/bugs/download.php?file_id=34625>

    _______________________________________________________

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]