mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-21 02:37:16 +01:00
Changed font selection parameters in newClusterDialog to select readable font (Fixed #1362)
This commit is contained in:
parent
f8d10ec3ff
commit
387f2838ea
@ -219,8 +219,9 @@ void newClusterDialog::showPage(const int page, bool blank)
|
||||
if (!monospace->exactMatch())
|
||||
{
|
||||
monospace->setFixedPitch(true);
|
||||
monospace->setStyleHint(QFont::SansSerif, QFont::PreferAntialias);
|
||||
QFontDatabase fontdb;
|
||||
foreach (QString family, fontdb.families(QFontDatabase::Latin))
|
||||
foreach (QString family, fontdb.families(QFontDatabase::Cyrillic))
|
||||
{
|
||||
if (fontdb.isFixedPitch(family, "normal"))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user