In Arabic OpenType-SVG fonts, glyphs shift seemingly randomly in all directions
In Arabic fonts with SVG table, glyphs move up, down, left, and right seemingly randomly, and typing more text or adding vowel marks change how the glyphs are shifted.
If the fonts are processed to remove the SVG table, they work fine (but color glyphs are not colored, obviously).
Illustrator and Photoshop do not have this issue, and the font with SVG table works normally.
I tested this with https://github.com/aliftype/raqq/blob/main/fonts/Raqq.ttf as well as https://fonts.google.com/specimen/Reem+Kufi+Ink.
Text used in the screenshot:
خط كوفي ا أ إ ب ت ث ج ح خ
خَطٌ كُوفِي أ إ بَ
This is InDesign 20.0, but the issue was present also in the previous versions.