Implement the UI option for preferring monospaced font

This commit is contained in:
baldurk
2017-05-04 16:00:51 +01:00
parent 0b868e45c0
commit ab432f24fc
20 changed files with 238 additions and 19 deletions
+1 -10
View File
@@ -247,16 +247,7 @@ bool PersistantConfig::Save()
void PersistantConfig::SetupFormatting()
{
Formatter::setParams(Formatter_MinFigures, Formatter_MaxFigures, Formatter_NegExp,
Formatter_PosExp);
// TODO Preferred Font
/*
PreferredFont = Font_PreferMonospaced
? new System.Drawing.Font("Consolas", 9.25F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)))
: new System.Drawing.Font("Tahoma", 8.25F);
*/
Formatter::setParams(*this);
}
void AddRecentFile(QList<QString> &recentList, const QString &file, int maxItems)