A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
654
stars
100
forks
source link
Svg rotation is calculated wrong when the y coordinate is 0 #120
Closed
Anderman closed 4 years ago
Svg Rotation with y = 0 is rendered outside the image.
the error is in line https://github.com/yWorks/svg2pdf.js/blob/master/src/svg2pdf.js#L620 this should be an OR
if (m[1] && m[2]) {
In the Image '55' is draw outside the highchartWhen I change this line to
if (m[1] || m[2]) {
The image is correct inside the highchart.svg code