Files
harfbuzz/src
Khaled Hosny 68c1798a67 [coretext] Use kCTFontOpenTypeFeatureTag
Instead of trying to map OpenType features to AAT feature selectors
which only works for a small subset of OpenType features, use the
simpler kCTFontOpenTypeFeatureTag with OpenType feature tags directly.

With this change, features like cvXX can be enabled in coretext shaper,
while they were previously ignored due to missing mapping.

This seems to work even with AAT fonts that don’t have OpenType layout
tables, which suggests that CoreText is doing the mapping itself in this
case.

kCTFontOpenTypeFeatureTag seems to have been introduced in macOS 10.10
and iOS 8.0, though, so its use is conditional on version check for now.
Not sure how to check iOS version, so I left this out.
2019-12-22 06:27:48 -08:00
..
2019-05-12 20:56:36 -07:00
2019-07-02 14:18:38 -07:00
2019-10-22 15:03:47 -07:00
2019-09-10 10:31:07 -07:00
2019-04-12 17:51:14 -04:00
2018-11-25 01:16:02 -05:00
2019-12-09 17:51:41 -06:00
2019-12-09 17:51:41 -06:00
2019-10-22 15:03:47 -07:00
2019-09-17 20:58:13 +04:30
2019-05-24 14:35:26 -04:00
2019-08-27 17:38:09 +04:30
2019-10-16 13:28:15 +03:30
2018-08-25 22:44:39 -07:00
2019-10-28 14:46:59 -07:00
2019-10-01 13:50:11 +03:30
2019-11-22 16:22:27 -05:00
2019-11-22 16:22:27 -05:00
2019-09-30 10:40:25 -07:00
2019-07-21 14:22:19 -07:00
…
2019-09-26 10:45:59 -07:00
…
2019-09-04 11:28:40 -04:00
2019-12-10 13:18:32 -06:00
…
2019-07-02 17:55:58 -07:00
2019-10-22 15:03:47 -07:00
2019-12-10 13:18:32 -06:00
2019-11-26 18:34:06 +00:00
2019-10-01 15:05:02 +03:30
2019-10-01 13:50:11 +03:30
2019-11-26 18:34:06 +00:00
2019-05-15 18:15:05 -07:00
2019-10-01 13:50:11 +03:30
2019-06-18 13:21:25 -07:00
2019-07-20 12:09:34 -07:00
2019-09-06 16:54:27 -04:00
2019-08-13 22:20:54 -07:00
2019-08-13 22:20:54 -07:00
2019-08-13 22:20:54 -07:00
2019-08-13 22:20:54 -07:00
2019-10-01 13:50:11 +03:30
2019-12-06 04:28:06 +00:00
2018-10-08 16:41:08 -04:00
2019-09-10 10:31:07 -07:00
2019-06-26 13:49:42 -07:00
2019-12-16 18:08:22 -08:00
2019-01-25 16:08:25 +01:00
…
2019-10-11 20:54:06 +03:30
2019-06-26 13:58:40 -07:00
2019-06-26 13:58:40 -07:00
2019-12-09 17:46:56 -06:00
2018-11-30 23:04:59 -05:00
2018-11-30 23:04:59 -05:00
2019-10-08 16:19:39 +03:30
2019-11-26 18:34:06 +00:00
2019-05-07 20:58:43 -07:00
2019-10-01 13:50:11 +03:30
2019-10-01 13:50:11 +03:30
2019-11-19 17:16:27 -05:00
2019-12-12 15:48:27 +03:30
2019-10-01 13:50:11 +03:30
2019-10-29 12:49:28 -07:00
2018-10-27 04:47:41 -07:00
2019-12-10 13:02:48 -06:00
2018-10-02 08:25:29 +02:00
2019-08-31 12:24:56 -05:00
2019-10-01 13:50:11 +03:30
2019-05-15 00:32:41 -07:00