shithub: choc

Download patch

ref: 162ba0b777452b9f8978ca7bc9501904e47841ef
parent: 5387e91e31c7fc3653b51215f76f07144656000d
author: Simon Howard <[email protected]>
date: Wed Oct 30 22:59:07 EDT 2013

Change gradient characters of 'large' textscreen font to be direct
scale-ups of the standard res versions of the characters: in addition to
giving a more 'authentic' retro look, this fixes a problem where the
high-frequency dot patterns can cause weird moire effects on some
monitors.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2735

--- a/textscreen/txt_largefont.h
+++ b/textscreen/txt_largefont.h
@@ -1790,34 +1790,34 @@
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 
     // 176:
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
-    0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
+    0x03, 0x03, 0x03, 0x03, 0x30, 0x30, 0x30, 0x30,
 
     // 177:
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
-    0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
+    0x33, 0x33, 0x33, 0x33, 0xcc, 0xcc, 0xcc, 0xcc,
 
     // 178:
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
-    0xdd, 0xdd, 0x77, 0x77, 0xdd, 0xdd, 0x77, 0x77,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
+    0xf3, 0xf3, 0xf3, 0xf3, 0x3f, 0x3f, 0x3f, 0x3f,
 
     // 179:
     0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0, 0x03, 0xc0,