[ot-shape] Add comment re `vert` feature

This commit is contained in:
Behdad Esfahbod 2021-08-05 10:16:13 -06:00
parent 2c024dc3cb
commit 368e957887
1 changed files with 4 additions and 0 deletions

View File

@ -374,6 +374,10 @@ hb_ot_shape_collect_features (hb_ot_shape_planner_t *planner,
map->add_feature (horizontal_features[i]);
else
{
/* We only apply `vert` feature. See:
* https://github.com/harfbuzz/harfbuzz/commit/d71c0df2d17f4590d5611239577a6cb532c26528
* https://lists.freedesktop.org/archives/harfbuzz/2013-August/003490.html */
/* We really want to find a 'vert' feature if there's any in the font, no
* matter which script/langsys it is listed (or not) under.
* See various bugs referenced from: