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:
commit
c0b9b8928b
6 changed files with 52 additions and 11 deletions
|
@ -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;
|
||||
})();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue