Closed Bug 236615 Opened 20 years ago Closed 20 years ago

non-conformance with 15.3.1 Font Descriptions and @font-face of css2

Categories

(Core :: CSS Parsing and Computation, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 70132

People

(Reporter: jacques.arpin, Assigned: dbaron)

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

Characters are not rendered as specified in Mozilla

Reproducible: Always
Steps to Reproduce:
1.create a css style sheet with the following @font face rule:
@font-face
{
    font-family: art;
    src: local("art.ttf"), url("../polices/art.ttf") format("truetype");
}
add the folloing reference to the font in the css style sheet:
.fntFamAt
{
    font-family: art, cursive;
}
2.Install the specified font file in the proper folder
3.Call the font using the following html code:
<td>
   <div class="fntFamAt">Capes</div>
</td>

Actual Results:  
Mozilla does not render the text with the requested font, it uses some other font.
Following is an excerpt form the 15.3.1  Font Descriptions and @font-face of css2
"A user agent implementing CSS2 will first examine  @font-face rules in search
of a font description defining 'Robson Celtic'. This example contains a rule
that matches. Although this rule doesn't contain much font data, it does have a
URI where the font can be retrieved for rendering this document."

Expected Results:  
Render the text with the font in the art.ttf file
Attached file HTML for testing
For testing
Attached file CSS style sheet
CSS style sheet for testing
Attached file TTF font file
Font file for testing
Please look for dups before opening a bug.  There is a long-standing bug about
the current lack of @font-face support that comes up in a 2 second search....

*** This bug has been marked as a duplicate of 70132 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: