fix ugly cleartype mangling on lua canvas drawtext, unintended goof-up in code. fixes #1411
This commit is contained in:
parent
cf806baff7
commit
9d14c1f214
|
@ -373,7 +373,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
boxBackground.FillRectangle(GetBrush(backcolor ?? _defaultTextBackground.Value), rect);
|
boxBackground.FillRectangle(GetBrush(backcolor ?? _defaultTextBackground.Value), rect);
|
||||||
boxBackground = Graphics.FromImage(Image);
|
boxBackground = Graphics.FromImage(Image);
|
||||||
boxBackground.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
boxBackground.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
||||||
boxBackground = Graphics.FromImage(Image);
|
|
||||||
boxBackground.DrawString(message, font, new SolidBrush(forecolor ?? Color.Black), x, y);
|
boxBackground.DrawString(message, font, new SolidBrush(forecolor ?? Color.Black), x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue