Bug 20847

Summary: Use the LastResort font for missing glyphs instead of showing the primary font's missing glyph
Product: WebKit Reporter: mitz
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on: 20846    
Bug Blocks:    

Description mitz 2008-09-14 19:28:02 PDT
This was attempted in <http://trac.webkit.org/changeset/36382> but was reverted due to bug 20846 and to Tiger NSFontManager completely hiding LastResort.
Comment 1 mitz 2008-09-14 19:32:47 PDT
On Tiger, it looks like -[NSFont fontWithName:@"LastResort"...] might work.
Comment 2 mitz 2009-05-19 13:13:50 PDT
<rdar://problem/6902705>
Comment 3 Alexey Proskuryakov 2009-05-19 14:06:05 PDT
Looking at <http://wikipedia.org/>, I think I see LastResort used a lot for rare languages - what am I missing?
Comment 4 mitz 2009-05-19 14:07:52 PDT
(In reply to comment #3)
> Looking at <http://wikipedia.org/>, I think I see LastResort used a lot for
> rare languages - what am I missing?

The ATSUI code path used for complex text on Tiger and Leopard uses LastResort. The fast text code path and the Core Text code do not.
Comment 5 Alexey Proskuryakov 2010-01-09 10:30:06 PST
Can this be made to work on newer systems, if not on Tiger?
Comment 6 mitz 2010-01-09 10:36:29 PST
(In reply to comment #5)
> Can this be made to work on newer systems, if not on Tiger?

Per comment #1, Tiger is probably not the issue. Bug 20846 is.