From 64ec4f087796e0f60dc87b950c09452c10406601 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 20 Jul 2011 04:30:03 +0000
Subject: [PATCH] Try using Courier New if it exits.  Apparently the courier
 font that ships with OS X doesn't cover the "extended ASCII" from CP437
 correctly, so it looks terrible.

Still want to test this with a handful of X11 based systems to see how well
it deals with CN instead of TNR.
---
 exec/asc_handler.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/asc_handler.js b/exec/asc_handler.js
index d691bd885d..43d2136a67 100644
--- a/exec/asc_handler.js
+++ b/exec/asc_handler.js
@@ -33,7 +33,7 @@ writeln("<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>");
 writeln("<title>"+file.name.replace(/^.*[\/\\]/,'')+"</title>");
 writeln("</head>");
 writeln('<body style="background-color: black;">');
-writeln("<pre>");
+writeln('<pre style="font-family: Courier New, monospace">');
 write(html_encode(text.join("\r\n")
 	,/* es-ASCII: */true
 	,/* white-sp: */false
-- 
GitLab