I have experimented a bit with fonts from Open Font Library, and found
one that I thought was better than the current one. It is released
into the public domain. However, the style is quite different than the
original. Take a look for yourself.

Screenshots:
http://img.rootzilla.de/img/EioS.png
http://img.rootzilla.de/img/cf6D.png
http://img.rootzilla.de/img/9op6.png
http://img.rootzilla.de/img/5V4i.png
http://img.rootzilla.de/img/34ZI.png

Patch to use the font and the font itself is attached. It is a renamed
version of the original that can be found at
http://openfontlibrary.org/media/files/liftarn/25

Let me know what you think.

  - Per

Attachment: bljbytesdep.ttf
Description: application/font-ttf

Index: lib/ivis_opengl/textdraw.c
===================================================================
--- lib/ivis_opengl/textdraw.c	(revision 2674)
+++ lib/ivis_opengl/textdraw.c	(working copy)
@@ -33,7 +33,7 @@
 #include <GL/gl.h>
 #include <GL/glc.h>
 
-static const char font_family[] = "DejaVu Sans Mono";
+static const char font_family[] = "Blojbytesdepa";
 static const char font_face_regular[] = "Book";
 static const char font_face_bold[] = "Bold";
 
@@ -183,12 +183,12 @@
 	switch (FontID)
 	{
 		case font_regular:
-			iV_SetTextSize(12.f);
+			iV_SetTextSize(16.f);
 			glcFont(GLC_Font_Regular);
 			break;
 
 		case font_large:
-			iV_SetTextSize(21.f);
+			iV_SetTextSize(28.f);
 			glcFont(GLC_Font_Bold);
 			break;
 	}
@@ -390,8 +390,8 @@
 			break;
 
 		case PIE_TEXT_LIGHTBLUE:
-			font_colour[0] = 0.627451f;
-			font_colour[1] = 0.627451f;
+			font_colour[0] = 0.7f;
+			font_colour[1] = 0.7f;
 			font_colour[2] = 1.f;
 			font_colour[3] = 1.f;
 			break;
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to