commit | f1ef1fa598cdb9250006c3d396f2dd3badaf92a3 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Thu Feb 09 14:23:46 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 09 21:50:57 2017 +0000 |
tree | 3c71da5d2b99154194eda2736f33c3ba474508f6 | |
parent | d678723728780c8ed75b1fad56a921ea39ee8325 [diff] |
Properly create CTFontDescriptor from SkFontStyle. There has been a long standing TODO about adding weight, width, and slant properly to created CTFontDescriptors. Now that the correct mappings are known, add these values to the descriptors. Change-Id: I37c3b892c2eb9dc3bb63399d14b535737c4fafb3 Reviewed-on: https://skia-review.googlesource.com/8273 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>