fix: font not correctly set in the cpuinfo window

This commit is contained in:
Roy Qu 2024-03-11 17:38:51 +08:00
parent f5db3144f5
commit e2d5a18c3f
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ void CPUDialog::resetEditorFont(float dpi)
f.setFamily(pSettings->editor().fontName());
f.setFamilies(pSettings->editor().fontFamilies());
f.setPixelSize(pointToPixel(pSettings->editor().fontSize(),dpi));
f.setStyleStrategy(QFont::NoFontMerging);
f.setStyleStrategy(QFont::PreferAntialias);
ui->txtCode->setFont(f);
}