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-03-14 23:16:26 +02:00
2019-12-15 23:21:10 +03:30
2019-12-16 17:48:07 -08:00
2018-11-26 18:58:39 +03:30
2019-04-21 12:26:07 -04:00
2018-02-20 14:36:14 -08:00
2018-10-19 19:24:05 +03:30
2019-06-27 14:48:10 -07:00
2019-10-29 12:49:28 -07:00
2019-04-21 12:26:07 -04:00
2017-10-27 10:23:01 -06:00
2019-06-17 20:10:36 -07:00
2019-05-25 12:42:38 -04:00
2019-05-25 12:42:38 -04:00
2019-05-25 12:42:38 -04:00
2019-05-24 17:02:52 -04:00
2019-10-29 12:49:28 -07:00
2019-01-28 20:39:16 -05:00
2019-10-02 09:22:46 +03:30
2019-05-25 11:37:23 -04:00
2019-08-03 13:55:34 +02:00
2019-05-25 12:52:16 -04:00
2019-12-09 20:28:28 +03:30

Travis Build Status AppVeyor Build Status CircleCI Build Status OSS-Fuzz Status Coverity Code Health Codacy Code Health Codecov Code Coverage Coverals Code Coverage Packaging status ABI Tracker

This is HarfBuzz, a text shaping library.

For bug reports, mailing list, and other information please visit:

http://harfbuzz.org/

For license information, see COPYING.

For build information, see BUILD.md.

For custom configurations, see CONFIG.md.

For test execution, see TESTING.md.

Documentation: https://harfbuzz.github.io

Packaging status of HarfBuzzPackaging status

S
Description
HarfBuzz text shaping engine
Readme
125 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 73.3%
C 16.2%
Python 3.2%
Hack 2.3%
Meson 1.1%
Other 3.8%