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;
|
j += 6;
|
||||||
break;
|
break;
|
||||||
case OPS.curveTo2:
|
case OPS.curveTo2:
|
||||||
x = args[j + 2];
|
|
||||||
y = args[j + 3];
|
|
||||||
d.push(
|
d.push(
|
||||||
"C",
|
"C",
|
||||||
pf(x),
|
pf(x),
|
||||||
@ -1242,6 +1240,8 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
|
|||||||
pf(args[j + 2]),
|
pf(args[j + 2]),
|
||||||
pf(args[j + 3])
|
pf(args[j + 3])
|
||||||
);
|
);
|
||||||
|
x = args[j + 2];
|
||||||
|
y = args[j + 3];
|
||||||
j += 4;
|
j += 4;
|
||||||
break;
|
break;
|
||||||
case OPS.curveTo3:
|
case OPS.curveTo3:
|
||||||
|
Loading…
Reference in New Issue
Block a user