From 5de9171093aae298df33e91f4dcb7b945cf63431 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Fri, 7 Mar 2014 23:51:58 +0000
Subject: [PATCH] [fixes #2] Greatly increased font quality!

---
 src/font.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/font.c b/src/font.c
index f4eba74..ba5a376 100644
--- a/src/font.c
+++ b/src/font.c
@@ -435,7 +435,7 @@ static void glFontMakeDList(FT_Face face, char ch, GLuint list_base,
   double x, y;
 
   if(FT_Load_Glyph(face, FT_Get_Char_Index(face, ch),
-        FT_LOAD_FORCE_AUTOHINT))
+        FT_LOAD_DEFAULT))
     WARN("FT_Load_Glyph failed");
 
   if(FT_Get_Glyph(face->glyph, &glyph))
@@ -463,8 +463,8 @@ static void glFontMakeDList(FT_Face face, char ch, GLuint list_base,
   }
   /* Create the GL texture. */
   glBindTexture(GL_TEXTURE_2D, tex_base[(int)ch]);
-  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
-  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
+  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
+  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
   glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_LUMINANCE_ALPHA,
                GL_UNSIGNED_BYTE, expanded_data);