Merge pull request #5183 from yurydelendik/type2-width
Adds width at the beginning of the Type2 charstring
This commit is contained in:
commit
84457b77ed
@ -4824,8 +4824,8 @@ var Type1CharString = (function Type1CharStringClosure() {
|
|||||||
sbx = this.stack.pop();
|
sbx = this.stack.pop();
|
||||||
this.lsb = sbx;
|
this.lsb = sbx;
|
||||||
this.width = wx;
|
this.width = wx;
|
||||||
this.stack.push(sbx);
|
this.stack.push(wx, sbx);
|
||||||
error = this.executeCommand(1, COMMAND_MAP.hmoveto);
|
error = this.executeCommand(2, COMMAND_MAP.hmoveto);
|
||||||
break;
|
break;
|
||||||
case 14: // endchar
|
case 14: // endchar
|
||||||
this.output.push(COMMAND_MAP.endchar[0]);
|
this.output.push(COMMAND_MAP.endchar[0]);
|
||||||
@ -4899,8 +4899,8 @@ var Type1CharString = (function Type1CharStringClosure() {
|
|||||||
sbx = this.stack.pop();
|
sbx = this.stack.pop();
|
||||||
this.lsb = sbx;
|
this.lsb = sbx;
|
||||||
this.width = wx;
|
this.width = wx;
|
||||||
this.stack.push(sbx, sby);
|
this.stack.push(wx, sbx, sby);
|
||||||
error = this.executeCommand(2, COMMAND_MAP.rmoveto);
|
error = this.executeCommand(3, COMMAND_MAP.rmoveto);
|
||||||
break;
|
break;
|
||||||
case (12 << 8) + 12: // div
|
case (12 << 8) + 12: // div
|
||||||
if (this.stack.length < 2) {
|
if (this.stack.length < 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user