cantoo-scribe / pdf-lib

Create and modify PDF documents in any JavaScript environment
https://pdf-lib.js.org
MIT License
136 stars 27 forks source link

Fix drawSvgPath to handle the y-coord correctly #50

Closed MatheusrdSantos closed 8 months ago

MatheusrdSantos commented 8 months ago

What?

It fixes the implementation of drawSvgPath to correctly handle the y-axis

Why?

Fixing the issue reported here: https://github.com/cantoo-scribe/pdf-lib/issues/49

How?

Adding an negative scaling over the y-axis

Testing?

New Dependencies?

Screenshots

Suggested Reading?

Anything Else?

Checklist