mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Change the format of the BidiResult object.
This commit is contained in:
parent
897b99500e
commit
8d6565d1a8
2 changed files with 12 additions and 12 deletions
|
@ -1935,8 +1935,8 @@ var TextLayerBuilder = function textLayerBuilder(textLayerDiv) {
|
|||
var textDiv = textDivs[i];
|
||||
var bidiText = PDFJS.bidi(textContent[i], -1);
|
||||
|
||||
textDiv.textContent = bidiText.content;
|
||||
textDiv.dir = bidiText.direction;
|
||||
textDiv.textContent = bidiText.str;
|
||||
textDiv.dir = bidiText.ltr ? 'ltr' : 'rtl';
|
||||
}
|
||||
|
||||
this.setupRenderLayoutTimer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue