Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
6.5.0
-
None
Description
see QTBUG-107139
Loading of otf font with addApplicationFont succeeds with result of 0, but actually using it does not work.
example code:
int id = QFontDatabase::addApplicationFont(":/Fonts/NotoSansTC-Regular.otf");
qWarning() << "RESULT" << id;
QString family = QFontDatabase::applicationFontFamilies(id).at(0);
QFont NoToSans(family);
ui->lineEdit->setFont(NoToSans);
Attachments
Issue Links
- replaces
-
QTBUG-107139 Webassembly cannot input Chinese
- Closed