Printing to PDF has spacing or missing glyph issues




8 years ago
8 years ago


(Reporter: jack.yan, Unassigned)


Windows XP

Firefox Tracking Flags

(Not tracked)




(1 attachment)



8 years ago
User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0b13pre) Gecko/20110305 Firefox/4.0b13pre
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b13pre) Gecko/20110305 Firefox/4.0b13pre

When printing the same page ( to PDF, the spacing goes haywire. The fonts that Firefox is accessing are PostScript Type 1s.

When printing a page using OpenType fonts (e.g., I continue to have missing glyphs—again the ligatures and, in this case, a special Th ligature that is in the OpenType tables to replace the T–h combination.

Reproducible: Always

When printing to my Epson Stylus Photo 830U, I notice that the ligatures (e.g. fi) are missing and replaced with a dot. So there seems to be some issue with the print engine.
Component: General → Printing: Output
Product: Firefox → Core
QA Contact: general → printing
Version: unspecified → Trunk

Comment 1

8 years ago
can you attach the pdf of the file you printed

For the issue with PS Type 1 fonts, I filed bug 640528 (sorry, I missed this one at that time), so let's focus here on the missing-glyphs-for-OpenType-ligatures case.

To investigate that, it would be helpful to have a testcase that demonstrates the problem without being dependent on specific, proprietary fonts; Jack, can you reproduce it with a freely-available font such as Linux Libertine O, DejaVu, etc?

Comment 3

8 years ago
Hi Jonathan: I'm off to download and install them now.

Interestingly, the stylesheet for specifies PT Serif (a freely available family) but prints in my default. What I will do is set my default to something that is publicly available and see how it goes.

Comment 4

8 years ago
I wasn't able to generate any new PDFs: Firefox (build of March 14) crashed both times, once in the middle of generating (while the font table was being built) and once at the beginning (soon after pressing the 'Print' button).


Comment 5

8 years ago
I have filed Bug 642017 on the crashing issue.

I'll attach the one relevant PDF here. It appears the ligatures are appearing (fi), which suggests the tables are working—just that something else has happened between the two builds that have stopped my PDF generation.

Comment 6

8 years ago
Created attachment 519557 [details]
Partially generated PDF, before Firefox crashed.
You need to log in before you can comment on or make changes to this bug.