back out bad font measurement changes

This commit is contained in:
Chris Jones 2011-07-09 21:43:12 -07:00
parent fb9b8b6417
commit db9b0b1d66

2
pdf.js
View File

@ -4016,7 +4016,7 @@ var CanvasGraphics = (function() {
ctx.transform.apply(ctx, current.textMatrix);
ctx.scale(1, -1);
ctx.translate(current.x, -current.y);
ctx.translate(current.x, -1 * current.y);
var font = current.font;
ctx.transform.apply(ctx, font.textMatrix);