There was an error while loading. Please reload this page.
1 parent 9072fed commit 9cbac23Copy full SHA for 9cbac23
1 file changed
plugins/context2d.js
@@ -299,9 +299,11 @@
299
this.path = origPath;
300
}
301
302
+ var scale;
303
var scale;
304
if (this.pdf.hotfix && this.pdf.hotfix.scale_text) {
- scale = this._getTransform()[0];
305
+ // We only use X axis as scale hint
306
+ scale = this._matrix_decompose(this._getTransform()).scale[0];
307
308
else {
309
scale = 1;
@@ -353,9 +355,11 @@
353
355
354
356
357
358
359
360
361
+ // We only use the X axis as scale hint
362
363
364
365
0 commit comments