Browse Source

PDF.js version 1.0.1011

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

2
bower.json

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

11
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.1008'; PDFJS.version = '1.0.1011';
PDFJS.build = '0c3a8ba'; PDFJS.build = '31ae5f2';
(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
@ -22888,6 +22888,7 @@ var Font = (function FontClosure() {
fontCharCode <= 0x1f || // Control chars fontCharCode <= 0x1f || // Control chars
fontCharCode === 0x7F || // Control char fontCharCode === 0x7F || // Control char
fontCharCode === 0xAD || // Soft hyphen fontCharCode === 0xAD || // Soft hyphen
fontCharCode === 0xA0 || // Non breaking space
(fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars (fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
// Prevent drawing characters in the specials unicode block. // Prevent drawing characters in the specials unicode block.
(fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) || (fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) ||
@ -24906,6 +24907,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(baseEncoding[charCode]); glyphId = glyphNames.indexOf(baseEncoding[charCode]);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} else if (!!(properties.flags & FontFlags.Symbolic)) { } else if (!!(properties.flags & FontFlags.Symbolic)) {
@ -24922,6 +24925,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(baseEncoding[charCode]); glyphId = glyphNames.indexOf(baseEncoding[charCode]);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} }
@ -24934,6 +24939,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(glyphName); glyphId = glyphNames.indexOf(glyphName);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} }

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.1008'; PDFJS.version = '1.0.1011';
PDFJS.build = '0c3a8ba'; PDFJS.build = '31ae5f2';
(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

11
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.1008'; PDFJS.version = '1.0.1011';
PDFJS.build = '0c3a8ba'; PDFJS.build = '31ae5f2';
(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
@ -16761,6 +16761,7 @@ var Font = (function FontClosure() {
fontCharCode <= 0x1f || // Control chars fontCharCode <= 0x1f || // Control chars
fontCharCode === 0x7F || // Control char fontCharCode === 0x7F || // Control char
fontCharCode === 0xAD || // Soft hyphen fontCharCode === 0xAD || // Soft hyphen
fontCharCode === 0xA0 || // Non breaking space
(fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars (fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
// Prevent drawing characters in the specials unicode block. // Prevent drawing characters in the specials unicode block.
(fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) || (fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) ||
@ -18779,6 +18780,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(baseEncoding[charCode]); glyphId = glyphNames.indexOf(baseEncoding[charCode]);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} else if (!!(properties.flags & FontFlags.Symbolic)) { } else if (!!(properties.flags & FontFlags.Symbolic)) {
@ -18795,6 +18798,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(baseEncoding[charCode]); glyphId = glyphNames.indexOf(baseEncoding[charCode]);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} }
@ -18807,6 +18812,8 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) {
glyphId = glyphNames.indexOf(glyphName); glyphId = glyphNames.indexOf(glyphName);
if (glyphId >= 0) { if (glyphId >= 0) {
charCodeToGlyphId[charCode] = glyphId; charCodeToGlyphId[charCode] = glyphId;
} else {
charCodeToGlyphId[charCode] = 0; // notdef
} }
} }
} }

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.1008", "version": "1.0.1011",
"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