commit | 64fb51d36df5d4e857c3425fe4cb1b1ecbd169fb | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Mon May 04 12:03:50 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon May 04 12:03:51 2015 -0700 |
tree | 3e62a0187f6a4f635ba3c5e00ca7486c4fbd2d07 | |
parent | 07ab9f3beda017d06089797de8c79d833b5a7659 [diff] |
Fix typeface ids on Mac. The current typeface ids with CoreText rely on ATS (which causes memory use issues) or font data (which is unreliable, and will not work with axes and synthetics). This changes the code so that stream fonts never end up in the cache and always get a unique id, and system fonts will be given an id as they are used. Review URL: https://codereview.chromium.org/1125763002