[Webkit-unassigned] [Bug 28859] New: offer a way to test if web/dynamic font support is available ?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 31 15:56:31 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28859

           Summary: offer a way to test if web/dynamic font support is
                    available ?
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jshin at chromium.org
                CC: koivisto at iki.fi, mitz at webkit.org


http://paulirish.com/2009/font-face-feature-detection/ tries to detect whether
a browser supports web/dynamic fonts in Javascript. 

Currently, in Chromium, web font support is off by default and is only enabled
with '--enable-remote-font', which is translated into
m_downloadableBinaryFontsEnabled of |settings|.   

Whether m_downloadableBinaryFontsEnabled is true or not,
|!!window.CSSFontFaceRule| is always 'true' and cannot be used to check whether
web/dynamic font is supported. 

Even with m_downloadableBinaryFontsEnabled set to false, SVG fonts are still
supported. So we cannot/should not make |!!window.CSSFontFaceRule| false. 


Exposing webkit preferences (read-only) might be a way, but it may be going too
far for this unless there are other demands/needs for this.

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



More information about the webkit-unassigned mailing list