Closed simoncozens closed 2 years ago
What does HarfBuzz do for these scripts? Math can be set RTL, not sure about the others.
I don't know if related, but it looks like the fontTools.unicodedata' list of RTL scripts could be not up to date with latest Unicode 14, see the link in the comment at https://github.com/fonttools/fonttools/blob/e778f2c3f485101ad11cb595c427f579955c0714/Lib/fontTools/unicodedata/__init__.py#L137-L203 I believe I copied those from harfbuzz source code, but i forgot exactly where. Might be a good idea to update them just in case.
(ok, it's not related to this issue, but it's good that I checked: we were actually missing Old Uyghur from the RTL script list, it was added with Unicode 14.0 => https://github.com/fonttools/fonttools/pull/2499)