Update itext.class.js

This commit is contained in:
Andrea Bogazzi 2016-02-25 02:59:04 +01:00
parent 2f19e25ef2
commit 9c41f0923d

View file

@ -657,6 +657,9 @@
charWidth = this._applyCharStylesGetWidth(ctx, _char, lineIndex, i, decl || {});
textDecoration = textDecoration || this.textDecoration;
if (decl && decl.textBackgroundColor) {
this._removeShadow(ctx);
}
shouldFill && ctx.fillText(_char, left, top);
shouldStroke && ctx.strokeText(_char, left, top);