From 9d14c1f214eac85012e527a80bd88625e8fda5d8 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 30 Dec 2018 02:32:38 -0500 Subject: [PATCH] fix ugly cleartype mangling on lua canvas drawtext, unintended goof-up in code. fixes #1411 --- BizHawk.Client.EmuHawk/tools/Lua/LuaPictureBox.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaPictureBox.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaPictureBox.cs index 301cfa90f9..6c8bf524d5 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaPictureBox.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaPictureBox.cs @@ -373,7 +373,6 @@ namespace BizHawk.Client.EmuHawk boxBackground.FillRectangle(GetBrush(backcolor ?? _defaultTextBackground.Value), rect); boxBackground = Graphics.FromImage(Image); boxBackground.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit; - boxBackground = Graphics.FromImage(Image); boxBackground.DrawString(message, font, new SolidBrush(forecolor ?? Color.Black), x, y); }