[Webkit-unassigned] [Bug 18002] New: @font-face { src: local("font"); } matches font family, not full face name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 21 20:57:48 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18002

           Summary: @font-face { src: local("font"); } matches font family,
                    not full face name
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://blog.lordsutch.com/archives/4013
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lawrencc at debian.org


Section 2.5 of the CSS3 Web Fonts specification
(http://www.w3.org/TR/css3-webfonts/#referencing) says, in part:

"The locally-installed <font-face-name> is the full font name of a locally
installed font. The full font name is the name of the font as reported by the
operating system and is the name most likely to be used in reader style sheets,
browser default style sheets or possibly author style sheets on an intranet.
Adornments such as bold, italic, and underline are often used to differentiate
faces within a font family. For more information about full font names please
consult the notes below."

and one example is:

"src: local("BT Century 751 No. 2 Semi Bold Italic")
    references a particular face of a locally installed font"

However, a stylesheet (such as the one referenced by the page above, found at
http://blog.lordsutch.com/fonts/faces.css) that specifies the full face--e.g.
"DejaVu Sans Bold Oblique"--using the local("") syntax does not match a font
and downloads the font at the lower priority URI.  Safari 3.1 and the nightly
(at least on OS X 10.5.2) only recognizes as locally-installed fonts specified
by their family name, which seems incorrect and likely to lead to
interoperability problems, as the family name alone might be matched by other
browsers to the normal-weight, normal-slant variant of the typeface.

(The current stylesheet contains both the correct specification and that
recognized by Safari/Webkit, as I'd rather every Safari user not download 2 MB
of fonts when visiting my site for the first time even if they are already
locally-installed.)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list