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:
parent
e48530d391
commit
f1e0edbaa9
4 changed files with 14 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue