Allow setting a "full and half fixed" font as the system fixed font.

Fixes #14424.
This commit is contained in:
Adrien Destugues
2020-07-29 20:13:58 +02:00
parent d548fb2b3e
commit fd3f9c4126
+2 -1
View File
@@ -176,7 +176,8 @@ DesktopSettingsPrivate::_Load()
&& settings.FindString("fixed style", &style) == B_OK
&& settings.FindFloat("fixed size", &size) == B_OK) {
FontStyle* fontStyle = gFontManager->GetStyle(family, style);
if (fontStyle != NULL && fontStyle->IsFixedWidth())
if (fontStyle != NULL && (fontStyle->IsFixedWidth()
|| fontStyle->IsFullAndHalfFixed()))
fFixedFont.SetStyle(fontStyle);
fFixedFont.SetSize(size);
}