Closed Bug 64318 Opened 24 years ago Closed 24 years ago

<pre> sections print out in variable-width font [ps][print]

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 61475
mozilla1.2alpha

People

(Reporter: akkzilla, Assigned: dcone)

References

Details

Attachments

(1 file)

Load a table formatted with <pre> (see attachment). Print it. It prints out with variable-width fonts, so the table columns don't line up.
The printout is exactly the same as what is on the screen.. so this in not a printing issue.. or a bug with printing. I am putting "works for me" and if you wish to re-open the bug because the appearance on the screen is incorrect also.. this then should be a style or layout bug.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
No, the appearance on the screen is fine (fixed width), it's only when I print it that it becomes variable width. Come by my cube if you want a demo.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
This looks like a duplicate of bug 37685
Since this was using Linux and Postscript is the output on the printer.. maybee that printer does not have the correct font. It this a possibility here.
The printer is "mackeral", 2nd floor B21 near the X Pit. Its fonts are fine -- at least, the test case prints out correctly in fixed-width from 4.x. I think Boris is right, bug 37685 sounds like it's describing exactly the same problem.
You do not have the correct postscript font (AFM font file)on your Linux box, for that monospace font that you are using. The printer may have the correct font.. but it does not communicate this to your computer..which needs the layout (AFM Font file) to layout for the printer. nsAFMObject::CreateSubstituteFont() has to have a monospaced font to choose from when a given monospace font is not available(missing AFM file).
What does 4.x do? Perhaps we should be doing that if nsAFMObject::CreateSubstituteFont() doesn't find a monospaced font.
Keywords: 4xp
spam : changing qa to sujay (new qa contact for Printing)
QA Contact: shrir → sujay
Status: REOPENED → ASSIGNED
Summary: <pre> sections print out in variable-width font → <pre> sections print out in variable-width font [ps][printing]
Severity: major → normal
Target Milestone: --- → mozilla1.2
update keywords
Summary: <pre> sections print out in variable-width font [ps][printing] → <pre> sections print out in variable-width font [ps][print]
Blocks: 64841
*** This bug has been marked as a duplicate of 61475 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
verified in 4/3 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: