From c88b4b03d6a71134717e5f54e4954d64ce7eac9e Mon Sep 17 00:00:00 2001
From: Jonas Kulla <Nyocurio@gmail.com>
Date: Thu, 28 Aug 2014 14:53:28 +0200
Subject: [PATCH] Bitmap: Fix blitshader draw_text path not taking squeezing
 into account

---
 src/bitmap.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bitmap.cpp b/src/bitmap.cpp
index e7ae71b..8899238 100644
--- a/src/bitmap.cpp
+++ b/src/bitmap.cpp
@@ -970,7 +970,7 @@ void Bitmap::drawText(const IntRect &rect, const char *str, int align)
 		GLMeta::blitEnd();
 
 		FloatRect bltRect(0, 0,
-		                  (float) gpTexSize.x / gpTex2.width,
+		                  (float) (gpTexSize.x * squeeze) / gpTex2.width,
 		                  (float) gpTexSize.y / gpTex2.height);
 
 		BltShader &shader = shState->shaders().blt;