RESOLVED FIXED 200771
[FTW] Support web fonts
https://bugs.webkit.org/show_bug.cgi?id=200771
Summary [FTW] Support web fonts
Brent Fulgham
Reported 2019-08-15 09:52:39 PDT
The current code path for handling web fonts uses 'AddFontMemResourceEx'. Unfortunately, this only updates the font caches used by GDI, and is not exposed to DirectWrite. This patch does the following: 1. Moves some code into a new DirectWriteUtilities file, similar to how Direct2D is handled, so we can share code in more places. 2. After adding the font to GDI, it adds the font information to the DirectWrite font cache. 3. Add logic to check the overall system DirectWrite fonts, as well as the custom font cache used for downloaded fonts.
Attachments
Patch (35.92 KB, patch)
2019-08-15 10:55 PDT, Brent Fulgham
no flags
Patch (36.47 KB, patch)
2019-08-15 12:43 PDT, Brent Fulgham
no flags
Patch (33.15 KB, patch)
2019-08-15 12:49 PDT, Brent Fulgham
no flags
Radar WebKit Bug Importer
Comment 1 2019-08-15 09:56:25 PDT
Brent Fulgham
Comment 2 2019-08-15 10:55:14 PDT
Brent Fulgham
Comment 3 2019-08-15 12:43:01 PDT
Brent Fulgham
Comment 4 2019-08-15 12:49:44 PDT
WebKit Commit Bot
Comment 5 2019-08-15 14:49:08 PDT
Comment on attachment 376411 [details] Patch Clearing flags on attachment: 376411 Committed r248748: <https://trac.webkit.org/changeset/248748>
WebKit Commit Bot
Comment 6 2019-08-15 14:49:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.