Hello

I have posted on nextcloud GIT this issue and they pointed me here.

Here is the issue I have posted - https://github.com/nextcloud/files_pdfviewer/issues/508

Configuration

Web browser and its version: Google Chrome, ver.94.0.4606.81 x64
Operating system and its version: Windows 10, 21H1, build 19043.1288
PDF.js version: v2.9.359
Is a browser extension: no I dont use it as extension

Steps to reproduce the problem:

What is the expected behavior?
Shared PDF created in AutoCAD without borders

![Snímek obrazovky 2021-10-19 120908](https://user-images.githubusercontent.com/11374526/137889425-c0983b5c-a557-46dc-ac32-d50c1dbb9ea9.png)

What went wrong?
Shared PDF created in AutoCAD is with border...
![image](https://user-images.githubusercontent.com/11374526/137888031-11852e03-41a4-48a0-bc0a-3ba0d65bd912.png)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://cloud.ostritecky.cz/s/cryrqKarK9CEam8

PDF viewer rendering border around text and objects when creating files with AutoCAD and It looks really bad. Is there a way to switch it off ?

Testfile here:

[Test.pdf](https://github.com/mozilla/pdf.js/files/7372181/Test.pdf)

fillAlpha,
        pointsCallback: (buffer, points) => {
          const x0 = points[0].x + this.borderStyle.width / 2;
          const y0 = points[0].y - this.borderStyle.width / 2;
          const x1 = points[3].x - this.borderStyle.width / 2;
          const y1 = points[3].y + this.borderStyle.width / 2;
          const xMid = x0 + (x1 - x0) / 2;
          const yMid = y0 + (y1 - y0) / 2;
          const xOffset = ((x1 - x0) / 2) * controlPointsDistance;
          const yOffset = ((y1 - y0) / 2) * controlPointsDistance;
          buffer.push(
            `${xMid} ${y1} m`,
            `${xMid + xOffset} ${y1} ${x1} ${yMid + yOffset} ${x1} ${yMid} c`,
            `${x1} ${yMid - yOffset} ${xMid + xOffset} ${y0} ${xMid} ${y0} c`,
            `${xMid - xOffset} ${y0} ${x0} ${yMid - yOffset} ${x0} ${yMid} c`,
            `${x0} ${yMid + yOffset} ${xMid - xOffset} ${y1} ${xMid} ${y1} c`,
            "h"
          );
          if (fillColor) {
            buffer.push("B");
          } else {
            buffer.push("S");
          }
          return [points[0].x, points[1].x, points[3].y, points[1].y];
        },
      });
    }
  }
}
class PolylineAnnotation extends MarkupAnnotation {