From 5ab50e327f56d0ccc8a3e3e11febacb546dbbdf3 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Thu, 28 Sep 2017 13:09:58 +0300 Subject: [PATCH] fix console mode build - close #465 --- src/dlangui/platforms/console/consolefont.d | 3 ++- views/DLANGUI_VERSION | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dlangui/platforms/console/consolefont.d b/src/dlangui/platforms/console/consolefont.d index d5753e3d..b19316fd 100644 --- a/src/dlangui/platforms/console/consolefont.d +++ b/src/dlangui/platforms/console/consolefont.d @@ -13,7 +13,8 @@ class ConsoleFont : Font { _spaceWidth = 1; _glyph.blackBoxX = 1; _glyph.blackBoxY = 1; - _glyph.width = 0; + _glyph.widthPixels = 1; + _glyph.widthScaled = 1 << 6; _glyph.originX = 0; _glyph.originY = 0; _glyph.subpixelMode = SubpixelRenderingMode.None; diff --git a/views/DLANGUI_VERSION b/views/DLANGUI_VERSION index 314fddc6..fa220802 100644 --- a/views/DLANGUI_VERSION +++ b/views/DLANGUI_VERSION @@ -1 +1 @@ -v0.9.155 \ No newline at end of file +v0.9.156 \ No newline at end of file