Closed Bug 465409 Opened 16 years ago Closed 16 years ago

[Mac] should fall back through multiple downloadable fonts in 'font-family' property

Categories

(Core :: Graphics, defect, P3)

x86
Windows XP
defect

Tracking

()

RESOLVED DUPLICATE of bug 451426

People

(Reporter: dbaron, Assigned: jtd)

Details

Right now, on Mac, font fallback through more than one downloadable font does not work. Steps to reproduce: 1. copy layout/reftests/fonts/ and layout/reftests/font-face/ to a Web server (right now, I have them on http://dbaron.org/tmp/reftest/font-face/ if you want to use that copy). (This is required because of security restrictions on cross-directory loads for file: URLs. The reftest harness runs them as HTTP reftests.) 2. load layout/reftests/font-face/multiple-in-family-1.html (e.g., at http://dbaron.org/tmp/reftest/font-face/multiple-in-family-1.html ) Expected results: All the As and Bs should be replaced by a glyph of three rectangles on top of each other (smallest at the top). Actual results: The As are replaced, but the Bs are not. When you're testing this bug, I recommend putting "patch 8" from bug 457821 (currently attachment 348597 [details] [diff] [review]) in your tree, because that bug can cause other confusion. When this bug is fixed, we should be able to remove the "fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") markings from layout/reftests/font-face/reftest.list for the following tests: multiple-in-family-1.html (both an == and a !=) order-2.html order-3.html (Note that some of the cases where that marking is present involve multiple @font-face rules that are defining the same font descriptors other than 'src' (where the behavior is still somewhat controversial), and some involve multiple distinct font families listed in the 'font-family' property (where the behavior is already precisely defined). However, given that we don't yet support the 'unicode-range' descriptor I feel pretty strongly that we need to use both of the @font-face rules when a pair of @font-face rules differ only by 'src'.)
Flags: blocking1.9.1?
(In reply to comment #0) > order-2.html > order-3.html Er, sorry, these actually shouldn't have been listed. This bug affects only multiple-in-family-1.html . I'll file a separate bug on those.
(In reply to comment #0) > (Note that some of the cases where that marking is present involve multiple > @font-face rules that are defining the same font descriptors other than 'src' > (where the behavior is still somewhat controversial), and some involve multiple > distinct font families listed in the 'font-family' property (where the behavior > is already precisely defined). However, given that we don't yet support the > 'unicode-range' descriptor I feel pretty strongly that we need to use both of > the @font-face rules when a pair of @font-face rules differ only by 'src'.) And, er, this entire Note also applied to order-2.html and order-3.html, not this bug.
Summary: [Mac] should fall back through multiple downloadable fonts → [Mac] should fall back through multiple downloadable fonts in 'font-family' property
(I filed that separate bug as bug 465414, which is somewhat related. It might even be fix-both-at-the-same-time level of related.)
Assignee: nobody → jdaggett
Priority: -- → P3
This was fixed by...
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Flags: blocking1.9.1? → blocking1.9.1+
You need to log in before you can comment on or make changes to this bug.