Closed Bug 20747 Opened 25 years ago Closed 25 years ago

[PP] The Font FACE attribute is case-sensitive

Categories

(Core :: Layout, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: chrispetersen, Assigned: pierre)

References

()

Details

Build: Apprunner
Version: 1999120308
Platform: Mac 8.6
Other Platforms: Works on Win 98 and Linux Redhat 6.0

Expected Results:The FACE attribute should be case-insensitive. As long as the
font name is spelled correctly and is present, the text should rendered
in the assigned font face.

What I got: The font face is only applied if the first character is in "caps"
Like Face="Chicago" not  Face="chicago".


Steps to reproduce:

1) Open the following url in Apprunner: http://slip/projects/marvin/simple/
font_face_problem.html

2) Both of these sentences are using the FACE attribute assigned "helvetica"

3) The first sentence uses the lowercase "h" and the second sentence uses the
uppercase "H".

4) The first sentence is not rendered in helvetica.
I forgot to mention this test case works fine on Mac Comm 4.7, so it appears to
be a problem with Mac Apprunner.
Assignee: rickg → pierre
Pierre, perhaps you can take a quick look, since font resolution is a style
issue.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed in nsDeviceContextMac.cpp
Status: RESOLVED → VERIFIED
Fixed in the Dec 8th Mac build (1999120808).
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.