Prechádzať zdrojové kódy

PDF.js version 1.1.195

Pdf Bot 10 rokov pred
rodič
commit
6587d8c383
5 zmenil súbory, kde vykonal 14 pridanie a 10 odobranie
  1. 1 1
      bower.json
  2. 5 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 5 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 5 - 3
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.193';
-PDFJS.build = '4983c7b';
+PDFJS.version = '1.1.195';
+PDFJS.build = 'c205b80';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -23271,12 +23271,14 @@ var Font = (function FontClosure() {
       case 0x7F: // Control char
       case 0xA0: // Non breaking space
       case 0xAD: // Soft hyphen
-      case 0x0E33: // Thai character SARA AM
       case 0x2011: // Non breaking hyphen
       case 0x205F: // Medium mathematical space
       case 0x25CC: // Dotted circle (combining mark)
         return true;
     }
+    if ((code & ~0xFF) === 0x0E00) { // Thai/Lao chars (with combining mark)
+      return true;
+    }
     return false;
   }
 

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.193';
-PDFJS.build = '4983c7b';
+PDFJS.version = '1.1.195';
+PDFJS.build = 'c205b80';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 5 - 3
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.193';
-PDFJS.build = '4983c7b';
+PDFJS.version = '1.1.195';
+PDFJS.build = 'c205b80';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -16918,12 +16918,14 @@ var Font = (function FontClosure() {
       case 0x7F: // Control char
       case 0xA0: // Non breaking space
       case 0xAD: // Soft hyphen
-      case 0x0E33: // Thai character SARA AM
       case 0x2011: // Non breaking hyphen
       case 0x205F: // Medium mathematical space
       case 0x25CC: // Dotted circle (combining mark)
         return true;
     }
+    if ((code & ~0xFF) === 0x0E00) { // Thai/Lao chars (with combining mark)
+      return true;
+    }
     return false;
   }
 

+ 1 - 1
package.json

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