Upstream bug is still open but reporter said issue was fixed in Firefox
57.0.4 over a year ago. Test file works here with Firefox 66.0.2 in
Ubuntu 18.04 so closing as fixed.

** Changed in: firefox (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1434404

Title:
  Canvas path rendering bug

Status in Mozilla Firefox:
  Confirmed
Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu: 14.04.2 LTS (32bit and 64bit versions)

  Firefox: Mozilla Firefox  for Ubuntu canonical - 1.0
  Installed: 36.0.1+build2-0ubuntu0.14.04.1

  I wrote the simple script to draw the circle composed by lines from it
  center. In Ubuntu Firefox I've got some weird looking artefacts, while
  in other OSes or browsers all seems to be ok (I've tested Firefox,
  Opera and Chrome in Windows, Chrome and Opera in Ubuntu).

  To reproduce:
  -------------------

  1. Open source file circle360.html in Firefox on Ubuntu;
  2. Expected to see the correctly drawin picture;
  3. Instead I see the picture with drawing artefacts (look at attached picture 
canvas-firefox.png)

  Source file: circle360.html
  -------------------------------------
  <!DOCTYPE html>
  <html>
  <head>
    <title>Ray Circle</title>
  </head>
  <body>
  <canvas height='640' width='640' id='example'>You should update your 
browser.</canvas>
  <script>
      var example = document.getElementById("example"),
          ctx     = example.getContext('2d'),
        PIdiv180 = Math.PI / 180,
        size = 480;

      ctx.beginPath();
      for (var i = 0; i < 360; i++) {
          ctx.moveTo(320, 320);
          ctx.lineTo(320 + Math.sin(i * PIdiv180) * 320, 320 + Math.cos(i * 
PIdiv180) * 320);
      }
      ctx.stroke();
  </script>
  </body>
  </html>
  -------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1434404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to