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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-15211 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
1829,1 | Add a way to check if we have a matching family in the database. | master | qt/qtbase | Status: MERGED | +2 | 0 |