Closed Bug 192890 Opened 22 years ago Closed 22 years ago

CSS font-family doesn't render text as expected with Webdings font

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: greboux, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.3b) Gecko/20030210 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.3b) Gecko/20030210 When using the CSS font-family attribute to display icon with webdings font, the text is render as sans-serif. Problem doesn't occurs when using font face tag. Reproducible: Always Steps to Reproduce: 1.See the test case 2. 3. Actual Results: Text is render as sans -serif Expected Results: Text should render with the correct font seem to be near from the bug #47752
*** Bug 192889 has been marked as a duplicate of this bug. ***
This bug is invalid. Our behavior with CSS is correct, and our behavior with HTML is incorrect, but we do it for backwards-compatibility even though it hurts internationalization.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
When you specify an "A" character, that says to find a font that has an "A" and use the "A" rather than just using the 65th character in the font. This is necessary when using text in multiple languages since a Japanese font may not have European characters, and a European font may not have Japanese characters. The way that Symbol/Webdings fonts have been used in the past contradicts this. We are not supporting the incorrect behavior when it is used in CSS 'font-family' (we only supported it in some cases, and on some platforms), since CSS 'font-family' is not widely used on the web in that way. We only support it for the HTML FONT element on pages in Quirks mode.
So what the difference with bug #47752 and the fantasy font ?
The first testcase of the bug bug #47752 shows the using of the generic font family and there's a "fantasy" family which display non alphabetical characters. It was in that way I talk about it. Why can we use fantasy font in this case and not in mine ?
'fantasy' has nothing to do with non-alphabetic characters.
Using a fantasy font family display an "icon" and not an alphabetical character
*** Bug 361625 has been marked as a duplicate of this bug. ***
Summary: CSS font-family doesn't render text as expected with Webding font → CSS font-family doesn't render text as expected with Webdings font
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: