Fix the text issue of RTL language while changing font family dynamically