Closed Bug 620916 Opened 15 years ago Closed 1 year ago

PDF printing with a PDF-printer not working optimally

Categories

(Toolkit :: Printing, defect)

4.0 Branch
x86
Windows 7
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: timo.salmen, Unassigned)

Details

Attachments

(7 files)

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8) Gecko/20100101 Firefox/4.0b8 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8) Gecko/20100101 Firefox/4.0b8 In Firefox 4 printing seems to have changed in a way that negatively impacts PDF printing. I tried using Acrobat Distiller, FreePDF, PDFCreator, NitroPDF Pro. Changes to Firefox 4 seem to make it impossible to pass of text to a ghostscript style PDF printer rather it hands off all the text as images which makes the PDF files much larger and none searchable. Is there a way to disable this behavior in Firefox 4 so that works like it did in 3? I tested with a completely new profile and a new installation. No extra extensions, themes or plugins are installed. Reproducible: Always Steps to Reproduce: 1. Open a webpage with text (any) 2. Print with any PDF-printer (for example: Acrobat Distiller, FreePDF, PDFCreator) 3. open PDF-file in PDF-viewer (any, for example: Adobe Reader, Fxit, Sumatra) Actual Results: All the text is as image which makes the PDF files much larger and none searchable Expected Results: Text should be searchable. As a workaround I have foubnd this: Run Firefox 4 in Safe Mode, which disables all addons. The PDF when printed will be searchable and very low in size. The key now is to find out which addon is breaking this function. Hope others can do some testing and shed some light on this.
Works for me - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b9pre) Gecko/20101219 Firefox/4.0b9pre and Distiller 9.4.0195. Created a searchable pdf of this bug report.
Attachment #499300 - Attachment mime type: application/force-download → application/pdf
I have had this issue with Firefox 4.0b8 as well. (Maybe this has already been fixed in FF 4.0b9pre.) As an example, the Firefox legal page printed in FF 3.6.13 produces a 99 kb PDF printed in Acrobat, while FF 4.0b8 produces a 3.7 MB PDF printed in Acrobat. I experiences this when printing from FF 4.0b8 on two different computers.
I have the same Problem with Beta12 still. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12) Gecko/20100101 Firefox/4.0b12 When I print from Firefox 4 (any Beta since 7 when I entered Beta) I get an PDF Output with an Image in it. Unter Firefox 3.6 I get searchable Text in the PDF. IE also produces searchable Text in the PDF. I tested in different Computers Windows XP 32.bit, Windows7 32-bit, Windows 7 64-bit and different PDF Creators PDFFacotry, PDF Creator, Adobe Distiller) all produce the same PDF Output with Image instead of Text.
Attachment #515581 - Attachment mime type: text/plain → application/pdf
Same problem here on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12) Gecko/20100101 Firefox/4.0b12. The problem seems to be related to Directwrite, if I set gfx.font_rendering.directwrite.enabled to "false", I get real text PDFs again. Unfortunately they have some additional blanks between the letters...
Is it a special problem with Windows 7 - 64 bit? (WOW64) like ➜ (Windows NT 6.1; WOW64; rv:....)
Comment #1 and #4 would suggest otherwise.
This doesn't just affect PDF printers, attached is the output of my normal printer driver using Print to file. When run through GhostScript or opened in Apple's Preview.app, the generated PDF file contains no text, only the (low quality) vector outlines. Is something with DirectWrite causing the normal text placement path to fail, and causing it to fall back to a basic vector path?
Version: unspecified → 4.0 Branch
It seems related to Hardware Acceleration ==> http://support.mozilla.com/en-US/questions/760923
When the graphics acceleration is enabled (tested with Windows 7-x64), the text is converted into Bezier curve. The file is much larger and the "text" can not be selected or copied (since it is not text). See (in French): http://www.geckozone.org/forum/viewtopic.php?p=631566 # p631566 The problem seems fixed with Firefox 5 and 6.
I do not see it fixed. FF 5 on Windows7 64, PDFs are still huge and have no text. Unlike with FF 4, disabling HW acceleration does not make a difference.
OK, just as I tried to send an attachment, it seems OK, so please forget my last comment :)
It really only worked one time for me. Normally, I get files like this. No text, big.
Works sometimes for some parts of the text. The comments are OK, but the box above is not.
Component: General → Printing
Product: Firefox → Toolkit
Severity: normal → S3

Similar challenge using Firefox version 127 on Debian 12 Bookworm at https://bugzilla.mozilla.org/show_bug.cgi?id=1906126

Firefox's graphics and print backends have been overhauled several times since this bug was filed (in the Firefox 4.0 era).

Any new bugs that seem superficially similar to what-was-described-here are almost certainly new-and-different and deserve their own investigation (so: thanks for filing bug 1906126!)

I'm closing this bug as INACTIVE, to avoid attracting additional comments here about similar issues occurring in more recent Firefox versions.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: