1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge branch 'master' of https://github.com/mozilla/pdf.js into string_fontname

This commit is contained in:
Brendan Dahl 2012-03-18 19:57:28 -07:00
commit c0b9b8928b
6 changed files with 52 additions and 11 deletions

View file

@ -124,7 +124,7 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
}
}
return (function bidi(text, startLevel) {
function bidi(text, startLevel) {
var str = text.str;
var strLength = str.length;
if (strLength == 0)
@ -429,5 +429,8 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
result += ch;
}
return result;
});
}
return bidi;
})();

View file

@ -190,7 +190,7 @@ function addContextCurrentTransform(ctx) {
var CanvasGraphics = (function CanvasGraphicsClosure() {
// Defines the time the executeIRQueue is going to be executing
// before it stops and shedules a continue of execution.
var kExecutionTime = 50;
var kExecutionTime = 15;
function CanvasGraphics(canvasCtx, objs, textLayer) {
this.ctx = canvasCtx;