The src: local() lookups, we currently use CGFontCreateWithFontName within gfxMacPlatformFontList::LookupLocalFont. While experimenting with the OSX system font cascade I discovered that this routine doesn't recognize certain "meta" names that the CTFontCreateWithName. It would be better to use the CTFont API and pull the CGFont from the CTFont object (the lookups here aren't time sensitive, they occur once per @font-face load).
Created attachment 8698766 [details] [diff] [review] patch, use CTFontCreateWithName to look up local names
Attachment #8698766 - Flags: review?(m_kato)
I was hoping to be able to access hidden system fonts via the use of src local with @font-face rules. But the CTFont API for this causes reftests failures on 10.6. So I think it would be better not to land this.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.