Browse Source

PDF.js version 1.0.1137

master v1.0.1137
Pdf Bot 10 years ago
parent
commit
b7b2f9ee0a
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 16
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

16
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1135'; PDFJS.version = '1.0.1137';
PDFJS.build = 'ccf05c7'; PDFJS.build = 'fb82000';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -23591,7 +23591,11 @@ var Font = (function FontClosure() {
var offset = font.getInt32() >>> 0; var offset = font.getInt32() >>> 0;
var useTable = false; var useTable = false;
if (platformId === 1 && encodingId === 0) { if (platformId === 0 && encodingId === 0) {
useTable = true;
// Continue the loop since there still may be a higher priority
// table.
} else if (platformId === 1 && encodingId === 0) {
useTable = true; useTable = true;
// Continue the loop since there still may be a higher priority // Continue the loop since there still may be a higher priority
// table. // table.
@ -24564,6 +24568,12 @@ var Font = (function FontClosure() {
} }
} }
} }
} else if (cmapPlatformId === 0 && cmapEncodingId === 0) {
// Default Unicode semantics, use the charcodes as is.
for (i = 0; i < cmapMappingsLength; ++i) {
charCodeToGlyphId[cmapMappings[i].charCode] =
cmapMappings[i].glyphId;
}
} else { } else {
// For (3, 0) cmap tables: // For (3, 0) cmap tables:
// The charcode key being stored in charCodeToGlyphId is the lower // The charcode key being stored in charCodeToGlyphId is the lower

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1135'; PDFJS.version = '1.0.1137';
PDFJS.build = 'ccf05c7'; PDFJS.build = 'fb82000';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

16
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1135'; PDFJS.version = '1.0.1137';
PDFJS.build = 'ccf05c7'; PDFJS.build = 'fb82000';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -17266,7 +17266,11 @@ var Font = (function FontClosure() {
var offset = font.getInt32() >>> 0; var offset = font.getInt32() >>> 0;
var useTable = false; var useTable = false;
if (platformId === 1 && encodingId === 0) { if (platformId === 0 && encodingId === 0) {
useTable = true;
// Continue the loop since there still may be a higher priority
// table.
} else if (platformId === 1 && encodingId === 0) {
useTable = true; useTable = true;
// Continue the loop since there still may be a higher priority // Continue the loop since there still may be a higher priority
// table. // table.
@ -18239,6 +18243,12 @@ var Font = (function FontClosure() {
} }
} }
} }
} else if (cmapPlatformId === 0 && cmapEncodingId === 0) {
// Default Unicode semantics, use the charcodes as is.
for (i = 0; i < cmapMappingsLength; ++i) {
charCodeToGlyphId[cmapMappings[i].charCode] =
cmapMappings[i].glyphId;
}
} else { } else {
// For (3, 0) cmap tables: // For (3, 0) cmap tables:
// The charcode key being stored in charCodeToGlyphId is the lower // The charcode key being stored in charCodeToGlyphId is the lower

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.1135", "version": "1.0.1137",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",

Loading…
Cancel
Save