Browse Source

PDF.js version 1.1.352

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

2
bower.json

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

6
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.350';
PDFJS.build = '72ecbec';
PDFJS.version = '1.1.352';
PDFJS.build = '977397e';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -24814,7 +24814,7 @@ var Font = (function FontClosure() { @@ -24814,7 +24814,7 @@ var Font = (function FontClosure() {
var isTrueType = !tables['CFF '];
if (!isTrueType) {
// OpenType font
if (header.version === 'OTTO' ||
if ((header.version === 'OTTO' && properties.type !== 'CIDFontType2') ||
!tables.head || !tables.hhea || !tables.maxp || !tables.post) {
// no major tables: throwing everything at CFFFont
cffFile = new Stream(tables['CFF '].data);

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.350';
PDFJS.build = '72ecbec';
PDFJS.version = '1.1.352';
PDFJS.build = '977397e';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

6
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.350';
PDFJS.build = '72ecbec';
PDFJS.version = '1.1.352';
PDFJS.build = '977397e';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -18413,7 +18413,7 @@ var Font = (function FontClosure() { @@ -18413,7 +18413,7 @@ var Font = (function FontClosure() {
var isTrueType = !tables['CFF '];
if (!isTrueType) {
// OpenType font
if (header.version === 'OTTO' ||
if ((header.version === 'OTTO' && properties.type !== 'CIDFontType2') ||
!tables.head || !tables.hhea || !tables.maxp || !tables.post) {
// no major tables: throwing everything at CFFFont
cffFile = new Stream(tables['CFF '].data);

2
package.json

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

Loading…
Cancel
Save