Browse Source

PDF.js version 1.5.446 - See mozilla/pdf.js@1fae435e884b31bc3b552fecbbaea8f9fe2961ff

master v1.5.446
Pdf Bot 8 years ago
parent
commit
868e9a139d
  1. 2
      bower.json
  2. 9
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 9
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.444",
"version": "1.5.446",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

9
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.444';
var pdfjsBuild = 'b112f9f';
var pdfjsVersion = '1.5.446';
var pdfjsBuild = '1fae435';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -34399,7 +34399,10 @@ var Font = (function FontClosure() { @@ -34399,7 +34399,10 @@ var Font = (function FontClosure() {
charCodeToGlyphId[charCode] = glyphId;
}
});
if (dupFirstEntry) {
if (dupFirstEntry && (isCidToGidMapEmpty || !charCodeToGlyphId[0])) {
// We don't duplicate the first entry in the `charCodeToGlyphId` map
// if the font has a `CIDToGIDMap` which has already mapped the first
// entry to a non-zero `glyphId` (fixes issue7544.pdf).
charCodeToGlyphId[0] = numGlyphs - 1;
}
} else {

4
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.444';
var pdfjsBuild = 'b112f9f';
var pdfjsVersion = '1.5.446';
var pdfjsBuild = '1fae435';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?

9
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.5.444';
var pdfjsBuild = 'b112f9f';
var pdfjsVersion = '1.5.446';
var pdfjsBuild = '1fae435';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -30116,7 +30116,10 @@ var Font = (function FontClosure() { @@ -30116,7 +30116,10 @@ var Font = (function FontClosure() {
charCodeToGlyphId[charCode] = glyphId;
}
});
if (dupFirstEntry) {
if (dupFirstEntry && (isCidToGidMapEmpty || !charCodeToGlyphId[0])) {
// We don't duplicate the first entry in the `charCodeToGlyphId` map
// if the font has a `CIDToGIDMap` which has already mapped the first
// entry to a non-zero `glyphId` (fixes issue7544.pdf).
charCodeToGlyphId[0] = numGlyphs - 1;
}
} else {

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.5.444",
"version": "1.5.446",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save