back out bad font measurement changes
This commit is contained in:
parent
fb9b8b6417
commit
db9b0b1d66
2
pdf.js
2
pdf.js
@ -4016,7 +4016,7 @@ var CanvasGraphics = (function() {
|
|||||||
|
|
||||||
ctx.transform.apply(ctx, current.textMatrix);
|
ctx.transform.apply(ctx, current.textMatrix);
|
||||||
ctx.scale(1, -1);
|
ctx.scale(1, -1);
|
||||||
ctx.translate(current.x, -current.y);
|
ctx.translate(current.x, -1 * current.y);
|
||||||
|
|
||||||
var font = current.font;
|
var font = current.font;
|
||||||
ctx.transform.apply(ctx, font.textMatrix);
|
ctx.transform.apply(ctx, font.textMatrix);
|
||||||
|
Loading…
Reference in New Issue
Block a user