\r
'use strict';\r
\r
-var bidi = (function bidiClosure() {\r
+var bidi = PDFJS.bidi = (function bidiClosure() {\r
// Character types for symbols from 0000 to 00FF.\r
var baseTypes = [\r
'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'BN', 'S', 'B', 'S', 'WS',\r
textDiv.style.fontSize = fontHeight + 'px';
textDiv.style.left = text.geom.x + 'px';
textDiv.style.top = (text.geom.y - fontHeight) + 'px';
- textDiv.textContent = bidi(text, -1);
+ textDiv.textContent = PDFJS.bidi(text, -1);
textDiv.dir = text.direction;
textDiv.dataset.textLength = text.length;
this.textDivs.push(textDiv);