Fix italic with bold semibold
This commit is contained in:
parent
c1877cc35f
commit
f2d287541a
1 changed files with 6 additions and 4 deletions
|
|
@ -412,10 +412,12 @@ FontData::FontData(int size, uint32 flags, int family, Font *other)
|
||||||
#endif // !DESKTOP_APP_USE_PACKAGED_FONTS
|
#endif // !DESKTOP_APP_USE_PACKAGED_FONTS
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_flags & FontItalic) {
|
if (!CustomSemiboldIsBold) {
|
||||||
f.setStyleName("Semibold Italic");
|
if (_flags & FontItalic) {
|
||||||
} else {
|
f.setStyleName("Semibold Italic");
|
||||||
f.setStyleName("Semibold");
|
} else {
|
||||||
|
f.setStyleName("Semibold");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue