Skip to content

Commit

Permalink
🔨 Update font scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 7, 2023
1 parent 22e6365 commit 0e3d951
Show file tree
Hide file tree
Showing 10 changed files with 1,263 additions and 104 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

# Generated files
_Version.h
bdf2u8g
bdf2u8g.exe
genpages.exe
marlin_config.json
mczip.h
*.gen
Expand Down
15 changes: 15 additions & 0 deletions buildroot/share/fonts/bdf2u8g/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CFLAGS = -g -Wall
#CFLAGS = -O4 -Wall

SRC = bdf2u8g.c

OBJ = $(SRC:.c=.o)

bdf2u8g: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o bdf2u8g.exe

clean:
-rm $(OBJ) bdf2u8g.exe

test:
./bdf2u8g.exe -f 2 ../bdf/9x18.bdf u8g_aafont_9x18 u8g_aafont_9x18.c
Loading

0 comments on commit 0e3d951

Please sign in to comment.