aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GraphicsSubsystem
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-19 13:06:39 -0400
committerMichael <[email protected]>2017-07-19 13:06:39 -0400
commit3fe1872f5f81f8203e57cbba2dca6ce833f08f22 (patch)
treea8fecc3d7a3bf16c62a27702194ac7f2e852e3be /ShiftOS.Frontend/GraphicsSubsystem
parenta0ee79dbcd26a8f07d493a7e993cbaf0d02e44db (diff)
downloadshiftos_thereturn-3fe1872f5f81f8203e57cbba2dca6ce833f08f22.tar.gz
shiftos_thereturn-3fe1872f5f81f8203e57cbba2dca6ce833f08f22.tar.bz2
shiftos_thereturn-3fe1872f5f81f8203e57cbba2dca6ce833f08f22.zip
hmmmm whatever it kinda works
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem')
-rw-r--r--ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
index e2b93fe..68026ef 100644
--- a/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
+++ b/ShiftOS.Frontend/GraphicsSubsystem/GraphicsContext.cs
@@ -159,7 +159,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
{
var sFormat = System.Drawing.StringFormat.GenericTypographic;
sFormat.FormatFlags |= System.Drawing.StringFormatFlags.NoClip;
-
+ sFormat.FormatFlags |= System.Drawing.StringFormatFlags.DisplayFormatControl;
gfx.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
gfx.DrawString(text, font, System.Drawing.Brushes.White, new System.Drawing.RectangleF(0, 0, bmp.Width, bmp.Height), sFormat);