1
0
Fork 0
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:
Julian Viereck 2012-09-14 15:03:27 -07:00
parent 897b99500e
commit 8d6565d1a8
2 changed files with 12 additions and 12 deletions

View file

@ -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();