Merge pull request #11559 from bhasto/curveto2-fix
Fix how curveTo2 (v operator) is translated to SVG
This commit is contained in:
commit
e12e83702d
@ -1231,8 +1231,6 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
|
||||
j += 6;
|
||||
break;
|
||||
case OPS.curveTo2:
|
||||
x = args[j + 2];
|
||||
y = args[j + 3];
|
||||
d.push(
|
||||
"C",
|
||||
pf(x),
|
||||
@ -1242,6 +1240,8 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
|
||||
pf(args[j + 2]),
|
||||
pf(args[j + 3])
|
||||
);
|
||||
x = args[j + 2];
|
||||
y = args[j + 3];
|
||||
j += 4;
|
||||
break;
|
||||
case OPS.curveTo3:
|
||||
|
Loading…
Reference in New Issue
Block a user