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

Merge pull request #4144 from yurydelendik/api-doc

Misc fixes for the API docs
This commit is contained in:
Brendan Dahl 2014-01-21 11:31:16 -08:00
commit f18e3e9e0f
5 changed files with 122 additions and 92 deletions

View file

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