Fixes bug 863591

This commit is contained in:
Jonas 2013-05-06 17:39:22 +02:00
parent a081c2d0f1
commit 40718bdb7b
2 changed files with 5 additions and 3 deletions

View File

@ -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_ready=Warning: The PDF is not fully loaded for printing.
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.

View File

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