Browse Source

Fixes bug 863591

Jonas 12 years ago
parent
commit
40718bdb7b
  1. 2
      l10n/en-US/viewer.properties
  2. 6
      web/viewer.js

2
l10n/en-US/viewer.properties

@ -120,4 +120,4 @@ request_password=PDF is protected by a password:
printing_not_supported=Warning: Printing is not fully supported by this browser. printing_not_supported=Warning: Printing is not fully supported by this browser.
printing_not_ready=Warning: The PDF is not fully loaded for printing. printing_not_ready=Warning: The PDF is not fully loaded for printing.
web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
web_colors_disabled=Web colors are disabled. document_colors_disabled=PDF documents are not allowed to use their own colors: \'Allow pages to choose their own colors\' is deactivated in the browser.

6
web/viewer.js

@ -2377,8 +2377,10 @@ var PageView = function pageView(container, id, scale,
// if (self.textLayer && self.textLayer.textDivs && // if (self.textLayer && self.textLayer.textDivs &&
// self.textLayer.textDivs.length > 0 && // self.textLayer.textDivs.length > 0 &&
// !PDFView.supportsDocumentColors) { // !PDFView.supportsDocumentColors) {
// console.error(mozL10n.get('web_colors_disabled', null, // console.error(mozL10n.get('document_colors_disabled', null,
// 'Web colors are disabled.')); // 'PDF documents are not allowed to use their own colors: ' +
// '\'Allow pages to choose their own colors\' ' +
// 'is deactivated in the browser.'));
// PDFView.fallback(); // PDFView.fallback();
// } // }
//#endif //#endif

Loading…
Cancel
Save