From 59274a08b923c27046c2886c87758b210d07eb0a Mon Sep 17 00:00:00 2001 From: "J. P. Savard" Date: Fri, 10 Jan 2025 00:59:40 -0500 Subject: [PATCH] Ajout support WOFF --- .gitignore | 3 ++- Makefile | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e5f8888..d16f7bf 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ *.fnt *.otb *.psf -*.ttf \ No newline at end of file +*.ttf +*.woff2 diff --git a/Makefile b/Makefile index 2ec226b..90ed0f0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME := VideowayMono -FILES := ${NAME}-11.bdf ${NAME}-22.bdf ${NAME}.ttf ${NAME}HiDpi.ttf ${NAME}.otb ${NAME}.psf ${NAME}-11.fnt ${NAME}-22.fnt ${NAME}.dfont +FILES := ${NAME}-11.bdf ${NAME}-22.bdf ${NAME}.ttf ${NAME}HiDpi.ttf ${NAME}.woff2 ${NAME}HiDpi.woff2 ${NAME}.otb ${NAME}.psf ${NAME}-11.fnt ${NAME}-22.fnt ${NAME}.dfont -.SUFFIXES: .sfd .bdf .otb .psf .fnt .dfont .ttf +.SUFFIXES: .sfd .bdf .otb .psf .fnt .dfont .ttf .woff2 all: ${FILES} @@ -21,6 +21,8 @@ all: ${FILES} %HiDpi.ttf: %-22.bdf rm -f $@ bitsnpicas convertbitmap -f ttf -o $@ -s Mono -r Mono-HiDpi $< +.ttf.woff2: + woff2_compress $< clean: - rm -f ${FILES} ${NAME}.afm \ No newline at end of file + rm -f ${FILES} ${NAME}.afm