From 37377763842c80bf261d7bc0b3502cd5213244a4 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Fri, 3 Apr 2020 20:03:20 +0430 Subject: [PATCH] [aat] add the bug link, minor --- src/hb-aat-map.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hb-aat-map.cc b/src/hb-aat-map.cc index acfd19fc1..76fec018c 100644 --- a/src/hb-aat-map.cc +++ b/src/hb-aat-map.cc @@ -55,8 +55,9 @@ void hb_aat_map_builder_t::add_feature (hb_tag_t tag, unsigned value) if (!mapping) return; if (!face->table.feat->exposes_feature (mapping->aatFeatureType)) { - // Special case: Chain::compile_flags will fall back to the deprecated version of - // small-caps if necessary, so we need to check for that possibility. + /* Special case: Chain::compile_flags will fall back to the deprecated version of + * small-caps if necessary, so we need to check for that possibility. + * https://github.com/harfbuzz/harfbuzz/issues/2307 */ if (mapping->aatFeatureType == HB_AAT_LAYOUT_FEATURE_TYPE_LOWER_CASE && mapping->selectorToEnable == HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS) {