]> git.parisson.com Git - pdf.js.git/commitdiff
Fix TrueType bustage
authorVivien Nicolas <21@vingtetun.org>
Fri, 1 Jul 2011 05:24:48 +0000 (07:24 +0200)
committerVivien Nicolas <21@vingtetun.org>
Fri, 1 Jul 2011 05:24:48 +0000 (07:24 +0200)
pdf.js

diff --git a/pdf.js b/pdf.js
index f0e58b1b7c168796485cc842cd604f8e0696b587..12ab5acc30a395b5b0971d54d4bffa82659afcc4 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -3862,6 +3862,7 @@ var CanvasGraphics = (function() {
             // TODO: apply charSpacing, wordSpacing, textHScale
 
             this.ctx.save();
+            this.ctx.transform.apply(this.ctx, this.current.textMatrix);
             this.ctx.scale(1, -1);
 
             if (this.ctx.$showText) {