From bd78cd2dd35c006763a03979bf6bbe4f3a25598b Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Tue, 21 Apr 2020 21:09:12 -0400 Subject: [PATCH] rdhtml.c: restore original fonts. dejavusans was my change, my fault. it never looked right outside of drawterm on osx (mea culpa). this is easy to change for anyone who prefers something else, but it's difficult to imagine native users preferring our very fuzzy dejavusans to anything else. --- sys/src/cmd/mothra/rdhtml.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index 3050f1f5a..4a6456fc3 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -13,25 +13,26 @@ struct Fontdata{ Font *font; int space; }fontlist[4][4]={ - "dejavusans/unicode.12", 0, 0, - "dejavusans/unicode.12", 0, 0, - "dejavusans/unicode.14", 0, 0, - "dejavusans/unicode.16", 0, 0, +/* original */ + "lucidasans/unicode.7", 0, 0, + "lucidasans/unicode.8", 0, 0, + "lucidasans/unicode.10", 0, 0, + "lucidasans/unicode.13", 0, 0, - "dejavusansit/unicode.12", 0, 0, - "dejavusansit/unicode.12", 0, 0, - "dejavusansit/unicode.14", 0, 0, - "dejavusansit/unicode.16", 0, 0, + "lucidasans/italicunicode.7", 0, 0, + "lucidasans/italicunicode.8", 0, 0, + "lucidasans/italicunicode.10", 0, 0, + "lucidasans/italicunicode.13", 0, 0, - "dejavusansbd/unicode.12", 0, 0, - "dejavusansbd/unicode.12", 0, 0, - "dejavusansbd/unicode.14", 0, 0, - "dejavusansbd/unicode.16", 0, 0, + "lucidasans/boldunicode.7", 0, 0, + "lucidasans/boldunicode.8", 0, 0, + "lucidasans/boldunicode.10", 0, 0, + "lucidasans/boldunicode.13", 0, 0, - "terminus/unicode.12", 0, 0, - "terminus/unicode.14", 0, 0, - "terminus/unicode.16", 0, 0, - "terminus/unicode.18", 0, 0, + "lucidasans/typeunicode.7", 0, 0, + "pelm/unicode.8", 0, 0, + "lucidasans/typeunicode.12", 0, 0, + "lucidasans/typeunicode.16", 0, 0, }; Font *pl_whichfont(int f, int s, int *space){