Fix missing setBold for non-system bundled fonts
This commit is contained in:
parent
a71cde7dd4
commit
d21837e8ac
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ FontData::FontData(int size, uint32 flags, int family, Font *other)
|
||||||
} else if (UseSystemFont) {
|
} else if (UseSystemFont) {
|
||||||
f.setWeight(QFont::DemiBold);
|
f.setWeight(QFont::DemiBold);
|
||||||
} else {
|
} else {
|
||||||
|
f.setBold(true);
|
||||||
f.setStyleName("Semibold");
|
f.setStyleName("Semibold");
|
||||||
#endif // !DESKTOP_APP_USE_PACKAGED_FONTS
|
#endif // !DESKTOP_APP_USE_PACKAGED_FONTS
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue