Browse Source

PDF.js version 1.0.717

master v1.0.717
Yury Delendik 11 years ago
parent
commit
2c1b725a64
  1. 2
      bower.json
  2. 18
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 18
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.715", "version": "1.0.717",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

18
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.715'; PDFJS.version = '1.0.717';
PDFJS.build = 'b4fb1e2'; PDFJS.build = '4834f1c';
(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
@ -23192,16 +23192,12 @@ var Font = (function FontClosure() {
var numMissing = numOfSidebearings - var numMissing = numOfSidebearings -
((metrics.length - numOfMetrics * 4) >> 1); ((metrics.length - numOfMetrics * 4) >> 1);
var i, ii;
if (numMissing > 0) { if (numMissing > 0) {
font.pos = (font.start ? font.start : 0) + metrics.offset; // For each missing glyph, we set both the width and lsb to 0 (zero).
var entries = ''; // Since we need to add two properties for each glyph, this explains
for (i = 0, ii = metrics.length; i < ii; i++) { // the use of |numMissing * 2| when initializing the typed array.
entries += String.fromCharCode(font.getByte()); var entries = new Uint8Array(metrics.length + numMissing * 2);
} entries.set(metrics.data);
for (i = 0; i < numMissing; i++) {
entries += '\x00\x00';
}
metrics.data = entries; metrics.data = entries;
} }
} }

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.715'; PDFJS.version = '1.0.717';
PDFJS.build = 'b4fb1e2'; PDFJS.build = '4834f1c';
(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

18
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.715'; PDFJS.version = '1.0.717';
PDFJS.build = 'b4fb1e2'; PDFJS.build = '4834f1c';
(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
@ -17162,16 +17162,12 @@ var Font = (function FontClosure() {
var numMissing = numOfSidebearings - var numMissing = numOfSidebearings -
((metrics.length - numOfMetrics * 4) >> 1); ((metrics.length - numOfMetrics * 4) >> 1);
var i, ii;
if (numMissing > 0) { if (numMissing > 0) {
font.pos = (font.start ? font.start : 0) + metrics.offset; // For each missing glyph, we set both the width and lsb to 0 (zero).
var entries = ''; // Since we need to add two properties for each glyph, this explains
for (i = 0, ii = metrics.length; i < ii; i++) { // the use of |numMissing * 2| when initializing the typed array.
entries += String.fromCharCode(font.getByte()); var entries = new Uint8Array(metrics.length + numMissing * 2);
} entries.set(metrics.data);
for (i = 0; i < numMissing; i++) {
entries += '\x00\x00';
}
metrics.data = entries; metrics.data = entries;
} }
} }

2
package.json

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