We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9072fed + 9cbac23 commit 4bf79f0Copy full SHA for 4bf79f0
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