From 1358294a5c368cff9f943986113e25d0cf41ec91 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 4 Oct 2014 02:09:25 +0000 Subject: [PATCH] ladies and gentlemen, it is my extreme pleasure to you, for tonight's entertainment to present, the lua DrawText without cleartype. May you all enjoy it as much as I have. --- BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs index 6cac6e4b85..11d8bbca52 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Gui.cs @@ -457,6 +457,7 @@ namespace BizHawk.Client.EmuHawk } var font = new Font(family, fontsize ?? 12, fstyle, GraphicsUnit.Pixel); + g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit; g.DrawString(message, font, GetBrush(color ?? Color.White), x, y); } catch (Exception)