There is 99% chance the software you are reading text on right now uses HarfBuzz to lay out the text, a library written mainly by a Persian person.
Many can't even get the spaces before and after punctuation right, even though the correct way involves no irregularities.