|
@@ -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;
|
|
|
}
|
|
|
|