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