Browse Source

PDF.js version 1.1.274

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

2
bower.json

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

20
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.1.272'; PDFJS.version = '1.1.274';
PDFJS.build = 'c9b6b69'; PDFJS.build = '5af49f8';
(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
@ -21308,6 +21308,13 @@ var GlyphMapForStandardFonts = {
'3316': 578, '3379': 42785, '3393': 1159, '3416': 8377 '3316': 578, '3379': 42785, '3393': 1159, '3416': 8377
}; };
// The glyph map for ArialBlack differs slightly from the glyph map used for
// other well-known standard fonts. Hence we use this (incomplete) CID to GID
// mapping to adjust the glyph map for non-embedded ArialBlack fonts.
var SupplementalGlyphMapForArialBlack = {
'227': 322, '264': 261, '291': 346,
};
// Some characters, e.g. copyrightserif, are mapped to the private use area and // Some characters, e.g. copyrightserif, are mapped to the private use area and
// might not be displayed using standard fonts. Mapping/hacking well-known chars // might not be displayed using standard fonts. Mapping/hacking well-known chars
// to the similar equivalents in the normal characters range. // to the similar equivalents in the normal characters range.
@ -23316,8 +23323,13 @@ var Font = (function FontClosure() {
// Standard fonts might be embedded as CID font without glyph mapping. // Standard fonts might be embedded as CID font without glyph mapping.
// Building one based on GlyphMapForStandardFonts. // Building one based on GlyphMapForStandardFonts.
var map = []; var map = [];
for (var code in GlyphMapForStandardFonts) { for (charCode in GlyphMapForStandardFonts) {
map[+code] = GlyphMapForStandardFonts[code]; map[+charCode] = GlyphMapForStandardFonts[charCode];
}
if (/ArialBlack/i.test(name)) {
for (charCode in SupplementalGlyphMapForArialBlack) {
map[+charCode] = SupplementalGlyphMapForArialBlack[charCode];
}
} }
var isIdentityUnicode = this.toUnicode instanceof IdentityToUnicodeMap; var isIdentityUnicode = this.toUnicode instanceof IdentityToUnicodeMap;
if (!isIdentityUnicode) { if (!isIdentityUnicode) {

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.1.272'; PDFJS.version = '1.1.274';
PDFJS.build = 'c9b6b69'; PDFJS.build = '5af49f8';
(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

20
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.1.272'; PDFJS.version = '1.1.274';
PDFJS.build = 'c9b6b69'; PDFJS.build = '5af49f8';
(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
@ -14902,6 +14902,13 @@ var GlyphMapForStandardFonts = {
'3316': 578, '3379': 42785, '3393': 1159, '3416': 8377 '3316': 578, '3379': 42785, '3393': 1159, '3416': 8377
}; };
// The glyph map for ArialBlack differs slightly from the glyph map used for
// other well-known standard fonts. Hence we use this (incomplete) CID to GID
// mapping to adjust the glyph map for non-embedded ArialBlack fonts.
var SupplementalGlyphMapForArialBlack = {
'227': 322, '264': 261, '291': 346,
};
// Some characters, e.g. copyrightserif, are mapped to the private use area and // Some characters, e.g. copyrightserif, are mapped to the private use area and
// might not be displayed using standard fonts. Mapping/hacking well-known chars // might not be displayed using standard fonts. Mapping/hacking well-known chars
// to the similar equivalents in the normal characters range. // to the similar equivalents in the normal characters range.
@ -16910,8 +16917,13 @@ var Font = (function FontClosure() {
// Standard fonts might be embedded as CID font without glyph mapping. // Standard fonts might be embedded as CID font without glyph mapping.
// Building one based on GlyphMapForStandardFonts. // Building one based on GlyphMapForStandardFonts.
var map = []; var map = [];
for (var code in GlyphMapForStandardFonts) { for (charCode in GlyphMapForStandardFonts) {
map[+code] = GlyphMapForStandardFonts[code]; map[+charCode] = GlyphMapForStandardFonts[charCode];
}
if (/ArialBlack/i.test(name)) {
for (charCode in SupplementalGlyphMapForArialBlack) {
map[+charCode] = SupplementalGlyphMapForArialBlack[charCode];
}
} }
var isIdentityUnicode = this.toUnicode instanceof IdentityToUnicodeMap; var isIdentityUnicode = this.toUnicode instanceof IdentityToUnicodeMap;
if (!isIdentityUnicode) { if (!isIdentityUnicode) {

2
package.json

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