commit | f05271581fc6204c2b7ccf146af5d02eec27e670 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Tue Aug 18 09:34:07 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 18 09:34:07 2015 -0700 |
tree | bf3d89b9ba9d4f592706b392771d051070e6039a | |
parent | 5346983b2e0726b4009cc546b01c58a8919e6c36 [diff] |
Use portable code for family names with DirectWrite. IDWriteFamily::GetFamilyNames appears to be 'helpful' and removes parts of family names that look like style names. Since the iterator is supposed to return the actual names and not just the name the platform thinks the name is (as getFamilyName does), try returning the raw names when possible. BUG=skia:4217 Review URL: https://codereview.chromium.org/1302573002