Quellcode durchsuchen

PDF.js version 1.0.911

Pdf Bot vor 10 Jahren
Ursprung
Commit
a7667b291f
5 geänderte Dateien mit 14 neuen und 10 gelöschten Zeilen
  1. 1 1
      bower.json
  2. 5 3
      build/pdf.combined.js
  3. 5 3
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.0.909",
+  "version": "1.0.911",
   "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.0.909';
-PDFJS.build = '83eff10';
+PDFJS.version = '1.0.911';
+PDFJS.build = '92d3d7f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4504,9 +4504,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
       var textHScale = current.textHScale * fontDirection;
       var fontMatrix = current.fontMatrix || FONT_IDENTITY_MATRIX;
       var glyphsLength = glyphs.length;
+      var isTextInvisible =
+        current.textRenderingMode === TextRenderingMode.INVISIBLE;
       var i, glyph, width;
 
-      if (fontSize === 0) {
+      if (isTextInvisible || fontSize === 0) {
         return;
       }
 

+ 5 - 3
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.909';
-PDFJS.build = '83eff10';
+PDFJS.version = '1.0.911';
+PDFJS.build = '92d3d7f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -4548,9 +4548,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
       var textHScale = current.textHScale * fontDirection;
       var fontMatrix = current.fontMatrix || FONT_IDENTITY_MATRIX;
       var glyphsLength = glyphs.length;
+      var isTextInvisible =
+        current.textRenderingMode === TextRenderingMode.INVISIBLE;
       var i, glyph, width;
 
-      if (fontSize === 0) {
+      if (isTextInvisible || fontSize === 0) {
         return;
       }
 

+ 2 - 2
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.909';
-PDFJS.build = '83eff10';
+PDFJS.version = '1.0.911';
+PDFJS.build = '92d3d7f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 1 - 1
package.json

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