Browse Source

PDF.js version 1.0.492

master v1.0.492
Yury Delendik 10 years ago
parent
commit
81bde27277
  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.490", "version": "1.0.492",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

11
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.490'; PDFJS.version = '1.0.492';
PDFJS.build = '5d4eebc'; PDFJS.build = '62e6265';
(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
@ -28198,13 +28198,14 @@ var Font = (function FontClosure() {
break; break;
} }
var customNames = []; var customNames = [];
var strBuf = [];
while (font.pos < end) { while (font.pos < end) {
var stringLength = font.getByte(); var stringLength = font.getByte();
var string = ''; strBuf.length = stringLength;
for (i = 0; i < stringLength; ++i) { for (i = 0; i < stringLength; ++i) {
string += String.fromCharCode(font.getByte()); strBuf[i] = String.fromCharCode(font.getByte());
} }
customNames.push(string); customNames.push(strBuf.join(''));
} }
glyphNames = []; glyphNames = [];
for (i = 0; i < numGlyphs; ++i) { for (i = 0; i < numGlyphs; ++i) {

4
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.490'; PDFJS.version = '1.0.492';
PDFJS.build = '5d4eebc'; PDFJS.build = '62e6265';
(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

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.490'; PDFJS.version = '1.0.492';
PDFJS.build = '5d4eebc'; PDFJS.build = '62e6265';
(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
@ -23344,13 +23344,14 @@ var Font = (function FontClosure() {
break; break;
} }
var customNames = []; var customNames = [];
var strBuf = [];
while (font.pos < end) { while (font.pos < end) {
var stringLength = font.getByte(); var stringLength = font.getByte();
var string = ''; strBuf.length = stringLength;
for (i = 0; i < stringLength; ++i) { for (i = 0; i < stringLength; ++i) {
string += String.fromCharCode(font.getByte()); strBuf[i] = String.fromCharCode(font.getByte());
} }
customNames.push(string); customNames.push(strBuf.join(''));
} }
glyphNames = []; glyphNames = [];
for (i = 0; i < numGlyphs; ++i) { for (i = 0; i < numGlyphs; ++i) {

2
package.json

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