WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(36.47 KB, patch)
2019-08-15 12:43 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Patch
(33.15 KB, patch)
2019-08-15 12:49 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-08-15 09:56:25 PDT
<
rdar://problem/54350291
>
Brent Fulgham
Comment 2
2019-08-15 10:55:14 PDT
Created
attachment 376393
[details]
Patch
Brent Fulgham
Comment 3
2019-08-15 12:43:01 PDT
Created
attachment 376410
[details]
Patch
Brent Fulgham
Comment 4
2019-08-15 12:49:44 PDT
Created
attachment 376411
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug