Closed
Bug 1232880
Opened 9 years ago
Closed 9 years ago
lookup local fonts with CTFont API
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: jtd, Assigned: jtd)
Details
Attachments
(1 file)
1.34 KB,
patch
|
m_kato
:
review+
|
Details | Diff | Splinter Review |
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).
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8698766 -
Flags: review?(m_kato)
Updated•9 years ago
|
Attachment #8698766 -
Flags: review?(m_kato) → review+
Assignee | ||
Comment 2•9 years ago
|
||
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
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•