diff --git a/dnSpy/dnSpy.Contracts.DnSpy/Controls/FontUtilities.cs b/dnSpy/dnSpy.Contracts.DnSpy/Controls/FontUtilities.cs index a237ebeee2..457c5a32ff 100644 --- a/dnSpy/dnSpy.Contracts.DnSpy/Controls/FontUtilities.cs +++ b/dnSpy/dnSpy.Contracts.DnSpy/Controls/FontUtilities.cs @@ -44,6 +44,7 @@ public static class FontUtilities { "Lucida Console", "Courier New", "Courier", + "Liberation Mono", GLOBAL_MONOSPACE_FONT, }; @@ -172,7 +173,7 @@ public static bool IsSymbol(FontFamily ff) { /// Gets all monospaced fonts /// /// - public static FontFamily[] GetMonospacedFonts() => SystemFontFamilies.Where(a => IsMonospacedFont(a)).OrderBy(a => a.Source.ToUpperInvariant()).ToArray(); + public static FontFamily[] GetMonospacedFonts() => SystemFontFamilies.Where(IsMonospacedFont).OrderBy(a => a.Source.ToUpperInvariant()).ToArray(); /// /// Checks whether is a monospaced font. It currently only checks