Dear All!
I am facing a problem with QFontDialog Writing System as follows.

I am opening a font Dialog
Qt Code:
  1. QFont tmpFont(QFontDialog::getFont(0,txtScrollEdit->font()));
  2. txtScrollEdit->setFont(tmpFont);
To copy to clipboard, switch view to plain text mode 
using this code. After that when I open this dialog box & choose the writing system Devanagari its shows the many Hindi Font families. In that I choose Lohit Hindi. After that I clicked over the OK button.
But when I typing the text, It displays in the English. When I reopen the dialog; It shows the any writing system. So, how a way I select the different writing pattern using with QFontDialog.