Array ot_languages (in src/hb-ot-tag.cc) is used for binary search (through bsearch function, in hb_ot_tag_from_language) but some of it's elements appear to be placed in invalid order. This may cause spurious search errors. Here's a list of problems: * two entries for "hz" (the first one is invalid) * "sck" should be moved to after "sc" * "vls" should be moved to after "vi" * "wo" should be moved to before "wry"
Thanks. Added a test, and fixed.
Thanks, Behdad. Just wanted to mention that bug was found using SortChecker tool.
Added a link just in case: https://github.com/yugr/sortcheck
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.