Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15211

Missing APIs to fully support the @font-face feature of CSS

    XMLWordPrintable

Details

    Description

      CSS 3 has a working draft concerning extended supports for fonts: http://www.w3.org/TR/css3-fonts/

      This draft include the support of fonts loaded dynamically by webpages: http://www.w3.org/TR/css3-fonts/#font-resources

      Currently, WebKit implements this feature by loading the fonts with QFontDatabase::addApplicationFontFromData(). This causes a number of problems and does not follow the scope of the specification (e.g.: https://bugs.webkit.org/show_bug.cgi?id=29433 ).

      Following the specification, the fonts loaded by a webpage should be only available in the scope of the webpage, not in the scope of the entire application: "Downloaded fonts are only available to documents that reference them, they should not be made available to other applications or other documents."

      To implement this feature in QtWebKit, new APIs will be needed in Qt.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jiang Jiang Jiang
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes