Browse Source

PDF.js version 1.0.1008

master v1.0.1008
Pdf Bot 10 years ago
parent
commit
34ec513ee1
  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.1006", "version": "1.0.1008",
"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.1006'; PDFJS.version = '1.0.1008';
PDFJS.build = 'cff9184'; PDFJS.build = '0c3a8ba';
(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
@ -20569,7 +20569,8 @@ var nonStdFontMap = {
'MS-PMincho': 'MS PMincho', 'MS-PMincho': 'MS PMincho',
'MS-PMincho-Bold': 'MS PMincho-Bold', 'MS-PMincho-Bold': 'MS PMincho-Bold',
'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic', 'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic',
'MS-PMincho-Italic': 'MS PMincho-Italic' 'MS-PMincho-Italic': 'MS PMincho-Italic',
'Wingdings': 'ZapfDingbats'
}; };
var serifFonts = { var serifFonts = {
@ -22698,6 +22699,10 @@ var Font = (function FontClosure() {
this.toFontChar[charCode] = fontChar; this.toFontChar[charCode] = fontChar;
} }
} else if (/Dingbats/i.test(fontName)) { } else if (/Dingbats/i.test(fontName)) {
if (/Wingdings/i.test(name)) {
warn('Wingdings font without embedded font file, ' +
'falling back to the ZapfDingbats encoding.');
}
var dingbats = Encodings.ZapfDingbatsEncoding; var dingbats = Encodings.ZapfDingbatsEncoding;
for (charCode in dingbats) { for (charCode in dingbats) {
fontChar = DingbatsGlyphsUnicode[dingbats[charCode]]; fontChar = DingbatsGlyphsUnicode[dingbats[charCode]];

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.1006'; PDFJS.version = '1.0.1008';
PDFJS.build = 'cff9184'; PDFJS.build = '0c3a8ba';
(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.1006'; PDFJS.version = '1.0.1008';
PDFJS.build = 'cff9184'; PDFJS.build = '0c3a8ba';
(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
@ -14442,7 +14442,8 @@ var nonStdFontMap = {
'MS-PMincho': 'MS PMincho', 'MS-PMincho': 'MS PMincho',
'MS-PMincho-Bold': 'MS PMincho-Bold', 'MS-PMincho-Bold': 'MS PMincho-Bold',
'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic', 'MS-PMincho-BoldItalic': 'MS PMincho-BoldItalic',
'MS-PMincho-Italic': 'MS PMincho-Italic' 'MS-PMincho-Italic': 'MS PMincho-Italic',
'Wingdings': 'ZapfDingbats'
}; };
var serifFonts = { var serifFonts = {
@ -16571,6 +16572,10 @@ var Font = (function FontClosure() {
this.toFontChar[charCode] = fontChar; this.toFontChar[charCode] = fontChar;
} }
} else if (/Dingbats/i.test(fontName)) { } else if (/Dingbats/i.test(fontName)) {
if (/Wingdings/i.test(name)) {
warn('Wingdings font without embedded font file, ' +
'falling back to the ZapfDingbats encoding.');
}
var dingbats = Encodings.ZapfDingbatsEncoding; var dingbats = Encodings.ZapfDingbatsEncoding;
for (charCode in dingbats) { for (charCode in dingbats) {
fontChar = DingbatsGlyphsUnicode[dingbats[charCode]]; fontChar = DingbatsGlyphsUnicode[dingbats[charCode]];

2
package.json

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