How to set local fonts
General and Desktop
5
Posts
2
Posters
1.1k
Views
1
Watching
-
hi all,
how to set local fonts. I am trying with this code. this is working for english but not for "lohit tamil".@ ui->label1->setStyleSheet ("font: 40pt "Lohit Tamil";");
ui->label1->setText("சென்னை");
//ui->label1->setText("tamil");
ui->label1->show();
@ -
Make sure your source file is encoded in UTF-8.
-
You can check it in any decent text editor (Notepad++, Kate, Gedit, etc.)