summaryrefslogtreecommitdiff
path: root/plugingui/font.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-10 14:42:20 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-10 14:42:20 +0100
commitd85d2cc3027a2434bb753d7580600e3f325bf157 (patch)
tree22ad773daa1f7a37bbfd423f37cf543cc7717c72 /plugingui/font.cc
parent1160f47dc62f370d3e497e7acb18b0670b0cef3e (diff)
Hardcoded fix for space character width in font.
Diffstat (limited to 'plugingui/font.cc')
-rw-r--r--plugingui/font.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/font.cc b/plugingui/font.cc
index 38b1b3e..694804b 100644
--- a/plugingui/font.cc
+++ b/plugingui/font.cc
@@ -51,6 +51,7 @@ GUI::Font::Font()
if(c == 'i') character_post_bias[c] = 1;
if(c == 'w') character_post_bias[c] = -1;
if(c == 'h') character_post_bias[c] = -1;
+ if(c == ' ') character_post_bias[c] = -3;
if(c == '.') {
character_pre_bias[c] = -1;
character_post_bias[c] = -1;