Closed
Bug 148411
Opened 23 years ago
Closed 23 years ago
[ps] CSS sans-serif prints as serif
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Stevan_White, Assigned: zhayupeng)
References
()
Details
(Keywords: relnote)
Attachments
(3 files)
(deleted),
text/html
|
Details | |
(deleted),
application/postscript
|
Details | |
(deleted),
patch
|
dcone
:
review+
bzbarsky
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020531 BuildID: 2002053108 This is Linux Mandrake 8.0 using CUPS system. If text is styled as "font-family: sans-serif", it will be displayed correctly in a sans-serif font, but it prints as a serif font. However, if the font-family is set to monospace, the text is printed in a monospace font, and if the font-family is set to some explicit family, such as helvetica, it also prints correctly. In previous versions (NS 6.2 and before), all CSS-styled text would print in a serif font. Reproducible: Always Steps to Reproduce: 1.go to page with text with attribute style="font-family: sans-serif" 2.print page. 3. Actual Results: The text is printed as serif font (although other formatting, such as size and weight, are correctly printed) Expected Results: Should have printed in sans-serif face, shouldn't it?
Comment 1•23 years ago
|
||
Linux build 2002052421 here: print preview -> sans-serif (as written on the textpage) printing -> serif (and so there's the bug)
Comment 3•23 years ago
|
||
Updated•23 years ago
|
Reporter | ||
Comment 5•23 years ago
|
||
Yes, Roland, that is what it was supposed to look like. (The difference would have been in the line "sans-serif 12pt") It would appear that this shows that the problem isn't in the Xprint module, but in the PostScript module (I think CUPS uses Ghostscript to convert PostScript into a printer file.)
Updated•23 years ago
|
Summary: CSS sans-serif prints as serif → [ps] CSS sans-serif prints as serif
Comment 6•23 years ago
|
||
Added item to the release notes (http://bugzilla.mozilla.org/show_bug.cgi?id=133795#c77) ...
Keywords: relnote
fix the font name "sans serif" to "sans-serif" need r=&sr=
Comment 10•23 years ago
|
||
Comment on attachment 91622 [details] [diff] [review] patch r=dcone
Attachment #91622 -
Flags: review+
![]() |
||
Comment 11•23 years ago
|
||
Comment on attachment 91622 [details] [diff] [review] patch sr=bzbarsky
Attachment #91622 -
Flags: superreview+
Comment 12•23 years ago
|
||
Comment on attachment 91622 [details] [diff] [review] patch a=asa (on behalf of drivers) for checkin to 1.1
Attachment #91622 -
Flags: approval+
Assignee | ||
Comment 13•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•