68c1798a67
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. |
||
---|---|---|
.ci | ||
.circleci | ||
docs | ||
m4 | ||
perf | ||
src | ||
test | ||
util | ||
.clang-format | ||
.codecov.yml | ||
.editorconfig | ||
.travis.yml | ||
appveyor.yml | ||
AUTHORS | ||
autogen.sh | ||
azure-pipelines.yml | ||
BUILD.md | ||
CMakeLists.txt | ||
CONFIG.md | ||
configure.ac | ||
COPYING | ||
git.mk | ||
harfbuzz.doap | ||
Makefile.am | ||
mingw32.sh | ||
mingw64.sh | ||
mingw-configure.sh | ||
mingw-ldd.py | ||
NEWS | ||
README | ||
README.md | ||
README.mingw.md | ||
README.python.md | ||
RELEASING.md | ||
replace-enum-strings.cmake | ||
TESTING.md | ||
THANKS | ||
TODO |
This is HarfBuzz, a text shaping library.
For bug reports, mailing list, and other information please visit:
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