Bug 147088

Summary: Clean up FontCache::lastResortFallbackFont
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Minor CC: mcatanzaro, nekohayo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Michael Catanzaro 2015-07-19 09:44:14 PDT
I see two issues with this function:

* The comment is outdated. Figure out how to update it.
* The last-resort font should surely be serif, not sans, since that is the default font in every web browser, including WebKit.

I actually wonder if this font choice is ever used....
Comment 1 Michael Catanzaro 2015-07-26 13:19:13 PDT
It already is serif, and actually that seems to be what Firefox uses too