9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] games/glendy: don't use lucida sans in menus by default
@ 2021-04-02 18:34 kemal
  2021-04-02 19:29 ` [9front] " kemal
  0 siblings, 1 reply; 7+ messages in thread
From: kemal @ 2021-04-02 18:34 UTC (permalink / raw)
  To: 9front

why can't i use vga? uncool.

diff -r cc26fdf57bb2 sys/src/games/glendy.c
--- a/sys/src/games/glendy.c	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/games/glendy.c	Fri Apr 02 21:33:18 2021 +0300
@@ -473,11 +473,7 @@

 	allocimages();
 	initlevel();	/* must happen before "eresized" */
-	eresized(0);
-
-	fontname = "/lib/font/bit/lucidasans/unicode.8.font";
-	if((font = openfont(display, fontname)) == nil)
-		sysfatal("font '%s' not found", fontname);
+	eresized(0);

 	for(;;) {
 		e = event(&ev);



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-02 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 18:34 [9front] games/glendy: don't use lucida sans in menus by default kemal
2021-04-02 19:29 ` [9front] " kemal
2021-04-02 19:51   ` kemal
2021-04-02 19:56     ` kemal
2021-04-02 20:07       ` kemal
2021-04-02 20:20         ` cinap_lenrek
2021-04-02 20:05   ` cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).