Przeglądaj źródła

PDF.js version 1.0.109

Yury Delendik 10 lat temu
rodzic
commit
9b0c167d75
5 zmienionych plików z 12 dodań i 8 usunięć
  1. 1 1
      bower.json
  2. 4 2
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 4 - 2
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.107';
-PDFJS.build = '6c5a308';
+PDFJS.version = '1.0.109';
+PDFJS.build = '75d6792';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -25467,6 +25467,8 @@ var Font = (function FontClosure() {
            fontCharCode === 0x7F || // Control char
            fontCharCode === 0xAD || // Soft hyphen
            (fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
+           // Prevent drawing characters in the specials unicode block.
+           (fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) ||
            (isSymbolic && isIdentityUnicode)) &&
           nextAvailableFontCharCode <= PRIVATE_USE_OFFSET_END) { // Room left.
         // Loop to try and find a free spot in the private use area.

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.107';
-PDFJS.build = '6c5a308';
+PDFJS.version = '1.0.109';
+PDFJS.build = '75d6792';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 2
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.107';
-PDFJS.build = '6c5a308';
+PDFJS.version = '1.0.109';
+PDFJS.build = '75d6792';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -20889,6 +20889,8 @@ var Font = (function FontClosure() {
            fontCharCode === 0x7F || // Control char
            fontCharCode === 0xAD || // Soft hyphen
            (fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
+           // Prevent drawing characters in the specials unicode block.
+           (fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) ||
            (isSymbolic && isIdentityUnicode)) &&
           nextAvailableFontCharCode <= PRIVATE_USE_OFFSET_END) { // Room left.
         // Loop to try and find a free spot in the private use area.

+ 1 - 1
package.json

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