Bug 20847 - Use the LastResort font for missing glyphs instead of showing the primary font's missing glyph
Summary: Use the LastResort font for missing glyphs instead of showing the primary fon...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 20846
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-14 19:28 PDT by mitz
Modified: 2010-01-09 10:36 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.