Some comment stuff
This commit is contained in:
parent
3a8426e179
commit
a5520216fc
@ -1926,15 +1926,17 @@ var TextLayerBuilder = function textLayerBuilder(textLayerDiv) {
|
|||||||
|
|
||||||
var textDivs = this.textDivs;
|
var textDivs = this.textDivs;
|
||||||
|
|
||||||
|
console.log(textContent);
|
||||||
|
|
||||||
for (var i = 0; i < textContent.length; i++) {
|
for (var i = 0; i < textContent.length; i++) {
|
||||||
var textDiv = textDivs[i];
|
var textDiv = textDivs[i];
|
||||||
var bidiText = PDFJS.bidi(textContent[i], -1);
|
var bidiText = PDFJS.bidi(textContent[i], -1);
|
||||||
|
|
||||||
console.log("divL #%d: text=%s, bidi=%s, dir=%s", i, textContent[i], textDiv.textContent, textDiv.dir);
|
// console.log("divL #%d: text=%s, bidi=%s, dir=%s", i, textContent[i], textDiv.textContent, textDiv.dir);
|
||||||
|
|
||||||
textDiv.textContent = bidiText.content;
|
textDiv.textContent = bidiText.content;
|
||||||
textDiv.dir = bidiText.direction;
|
textDiv.dir = bidiText.direction;
|
||||||
console.log("divC #%d: text=%s, bidi=%s, dir=%s", i, textContent[i], bidiText.content, bidiText.direction);
|
// console.log("divC #%d: text=%s, bidi=%s, dir=%s", i, textContent[i], bidiText.content, bidiText.direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setupRenderLayoutTimer();
|
this.setupRenderLayoutTimer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user