Closed Bug 527366 Opened 15 years ago Closed 13 years ago

printing to pdf broken for Hebrew pages

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: celejar, Unassigned)

Details

Attachments

(5 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091028 Iceweasel/3.5.4 (Debian-3.5.4-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091028 Iceweasel/3.5.4 (Debian-3.5.4-1)

Printing certain Hebrew pages to PDF (via the internal "Print to file (PDF)" option) produces mangled, virtually unreadable output when certain fonts are installed on my system.  This occurs when 'FrankRuehlCLM' (culmus - http://culmus.sourceforge.net/) is used in the PDF, e.g.:

~$ pdffonts hebrew-test.pdf 
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
FrankRuehlCLM                        Type 1            yes no  yes      5  0
BitstreamVeraSerif                   CID TrueType      yes no  yes      6  0

Removing the culmus fonts causes readable, if not particularly attractive PDFs to be generated.  The problem does not occur with Epiphany, even though the "Print to file" dialog box looks quite similar.



Reproducible: Always

Steps to Reproduce:
1.Load page in browser
2.Print it
Actual Results:  
See attached files:

hebrew-test-bad.pdf
hebrew-test-bad.png

[With 'culmus' installed on the system.]

Expected Results:  
See attached files:

hebrew-test-good.pdf
hebrew-test-bad.png

[Without 'culmus' installed on the system.]
Attached file correct pdf
Attached file bad pdf
Attached image screenshot of bad pdf
(In reply to comment #0)
> Steps to Reproduce:
> 1.Load page in browser

What page does one need to load, to reproduce this?  There's no testcase attached and no URL specified, unless I accidentally missed it.

Also: Does this bug happen in Firefox's "Print Preview" mode, as well?
Attached file HTML test case
Oops, forgot the test case itself in my blizzard of attachments :/  It's there now.

No, the print preview is fine.
reporter, does this still fail when using Firefox 5 *beta* http://www.mozilla.com/en-US/firefox/channel/ or Firefox 4?
Whiteboard: [closeme 2011-06-19]
I don't currently have either of those versions installed on my system. I'll try one or both when I get a chance, hopefully within a few days.
Ok, the page seems to work fine with FF 4, from experimental.
WFM per reporter. celejar thanks for the update
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [closeme 2011-06-19]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: