Closed Bug 235804 Opened 21 years ago Closed 21 years ago

wrong fonts rendered sometimes

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 245017

People

(Reporter: Franz.Offenbaecher, Unassigned)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113 While playing with Composer (but with external created sources too) I found mozilla doesn't like some fonts installed on my machine. These fonts are replaced by the default ones. If I use IE6 on the same source the font-rendering is ok. Reproducible: Always Steps to Reproduce: 1. create some HTML with CSS (in it or outside) 2. use a font-declaration with some fonts (like 'font: normal 12pt "Myriad Pro","Myriad Roman",… fantasy' - fantasy is good for identifying the problem) 3. assign some text with such a style Actual Results: Some (not all) fonts are replaced by the default-ones. Have a look on the attatchment (compares moz-rendering with the IE6-result, just from the same machine without any change). Expected Results: Mozilla should use the fonts on the system.
*** Bug 235803 has been marked as a duplicate of this bug. ***
While playing around with the font-family feature I figured out, that if you omit the generic-family (http://www.w3.org/TR/REC-CSS2/fonts.html#font-family-prop) mozilla doesn't use the wrong(?) font. Of course there is some misunderstanding. But I don't know where. Is it me or is it mozilla? Franz
Sorry, but I can't stop myself from playing around with this. So I found something else. I'm not sure if this does belong to this case. So you should tell me (or split this if you think so): <html> <head> <meta sth="text/html; charset=UTF-8" http-equiv="content-type"> <title>em-Test</title> <style> <!-- .STh { font-size: 12pt; background-color: oldlace; } .STh :first-child { font-size: 30pt; } p { color: blue; margin: 0; } em { color: red; } --> </style> </head> <body> Some <em>emphased</em> content. [1] <p>Some <em>emphased</em> content. [2]</p> <div class="STh"> <p>Some <em>emphased</em> content. [3]</p> <p>Some <em>emphased</em> content. [4]</p> Some <em>emphased</em> content. [5] </div> </body> </html> Look at the line marked with "[4]" - shouldn't 'emphased' be rendered in respect to it's paragraph-font(-size)? For to make sure, you will see what I do I'll append a screenshot too. Franz
Attached image Screen-Shot of the <em>-Bug(?) (obsolete) —
Attachment #142576 - Attachment is obsolete: true
(In reply to comment #4) Ah! I found the reason for the 'wrong emphasis': > .STh :first-child { > font-size: 30pt; > } The space in the declaration ... Maybe I should get new glasses :-( Franz
*** This bug has been marked as a duplicate of 245017 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: