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:
commit
f18e3e9e0f
5 changed files with 122 additions and 92 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue