From d61a3f4921e55a753d4bc94de50dd7faffc3a348 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 19 Jan 2023 10:47:49 -0700 Subject: Load gzipped fonts from /usr/local/share/consolefonts/ The editor now loads fonts from /usr/ instead of the current working directory. Since they are gzipped the font loading code now uses zlib to read from the files. These fonts in particular were installed with `make install-psf` from the Terminus makefile, however the location may vary from system to system. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d543860..87445df 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS=-std=c99 -g -Wall -LFLAGS=-lSDL2 +LFLAGS=-lSDL2 -lz OUT=editor OBJS=main.o \ -- cgit v1.2.3