[Pkg-javascript-commits] [pdf.js] 190/246: Adds width at the beginning of the Type2 charstring
David Prévot
taffit at moszumanska.debian.org
Sun Sep 7 15:36:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 0ad323f6210128bdf4b584ace03f3d88bfa5b308
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Wed Aug 13 21:15:40 2014 -0500
Adds width at the beginning of the Type2 charstring
---
src/core/fonts.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/core/fonts.js b/src/core/fonts.js
index 741cbd0..93d8457 100644
--- a/src/core/fonts.js
+++ b/src/core/fonts.js
@@ -4824,8 +4824,8 @@ var Type1CharString = (function Type1CharStringClosure() {
sbx = this.stack.pop();
this.lsb = sbx;
this.width = wx;
- this.stack.push(sbx);
- error = this.executeCommand(1, COMMAND_MAP.hmoveto);
+ this.stack.push(wx, sbx);
+ error = this.executeCommand(2, COMMAND_MAP.hmoveto);
break;
case 14: // endchar
this.output.push(COMMAND_MAP.endchar[0]);
@@ -4899,8 +4899,8 @@ var Type1CharString = (function Type1CharStringClosure() {
sbx = this.stack.pop();
this.lsb = sbx;
this.width = wx;
- this.stack.push(sbx, sby);
- error = this.executeCommand(2, COMMAND_MAP.rmoveto);
+ this.stack.push(wx, sbx, sby);
+ error = this.executeCommand(3, COMMAND_MAP.rmoveto);
break;
case (12 << 8) + 12: // div
if (this.stack.length < 2) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list