1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Address Yurys review comments

This commit is contained in:
Julian Viereck 2012-09-22 11:18:26 +02:00
parent e48530d391
commit f1e0edbaa9
4 changed files with 14 additions and 19 deletions

View file

@ -181,7 +181,7 @@ SimpleTextLayerBuilder.prototype = {
ctx.stroke();
ctx.fill();
var textContent = this.textContent.text[this.textCounter];
var textContent = this.textContent.bidiTexts[this.textCounter].str;
ctx.font = fontHeight + 'px ' + fontName;
ctx.fillStyle = 'black';
ctx.fillText(textContent, geom.x, geom.y);