Bug 191412 - Provide better Font fallbacks for DirectX backend
Summary: Provide better Font fallbacks for DirectX backend
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks: 191411
  Show dependency treegraph
 
Reported: 2018-11-07 19:54 PST by Brent Fulgham
Modified: 2018-11-07 21:15 PST (History)
8 users (show)

See Also:


Attachments
Patch (6.25 KB, patch)
2018-11-07 20:01 PST, Brent Fulgham
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2018-11-07 19:54:55 PST
Custom font registration through GDI aren't always found when using the GDI/DirectX bridge. If a font is not found, rather than failing outright or crashing we should locate the closest match and use that.
Comment 1 Radar WebKit Bug Importer 2018-11-07 19:56:20 PST
<rdar://problem/45899207>
Comment 2 Brent Fulgham 2018-11-07 20:01:42 PST
Created attachment 354204 [details]
Patch
Comment 3 zalan 2018-11-07 20:59:26 PST
Comment on attachment 354204 [details]
Patch

rs=me
Comment 4 Brent Fulgham 2018-11-07 21:15:04 PST
Committed r237980: <https://trac.webkit.org/changeset/237980>