shithub: riscv

Download patch

ref: 7cc5006004bfb9461d3954266e014b5153da491a
parent: 9a92d8eb389a2ce8e40e08f451c18ee8722f6cba
author: stanley lieber <[email protected]>
date: Thu Dec 8 07:05:29 EST 2011

mothra: use dejavusans for regular text and terminus for fixed width text

--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -13,25 +13,25 @@
 	Font *font;
 	int space;
 }fontlist[4][4]={
-	"lucidasans/unicode.7", 0, 0,
-	"lucidasans/unicode.8", 0, 0,
-	"lucidasans/unicode.10", 0, 0,
-	"lucidasans/unicode.13", 0, 0,
+	"dejavusans/unicode.12", 0, 0,
+	"dejavusans/unicode.12", 0, 0,
+	"dejavusans/unicode.14", 0, 0,
+	"dejavusans/unicode.16", 0, 0,
 
-	"lucidasans/italicunicode.7", 0, 0,
-	"lucidasans/italicunicode.8", 0, 0,
-	"lucidasans/italicunicode.10", 0, 0,
-	"lucidasans/italicunicode.13", 0, 0,
+	"dejavusansit/unicode.12", 0, 0,
+	"dejavusansit/unicode.12", 0, 0,
+	"dejavusansit/unicode.14", 0, 0,
+	"dejavusansit/unicode.16", 0, 0,
 
-	"lucidasans/boldunicode.7", 0, 0,
-	"lucidasans/boldunicode.8", 0, 0,
-	"lucidasans/boldunicode.10", 0, 0,
-	"lucidasans/boldunicode.13", 0, 0,
+	"dejavusansbd/unicode.12", 0, 0,
+	"dejavusansbd/unicode.12", 0, 0,
+	"dejavusansbd/unicode.14", 0, 0,
+	"dejavusansbd/unicode.16", 0, 0,
 
-	"lucidasans/typeunicode.7", 0, 0,
-	"pelm/unicode.8", 0, 0,
-	"lucidasans/typeunicode.12", 0, 0,
-	"lucidasans/typeunicode.16", 0, 0,
+	"vga/vga", 0, 0,
+	"terminus/unicode.14", 0, 0,
+	"terminus/unicode.16", 0, 0,
+	"terminus/unicode.18", 0, 0,
 };
 Fontdata *pl_whichfont(int f, int s){
 	char name[NNAME];