Ajout support WOFF
This commit is contained in:
parent
2be47e750f
commit
59274a08b9
|
@ -5,3 +5,4 @@
|
||||||
*.otb
|
*.otb
|
||||||
*.psf
|
*.psf
|
||||||
*.ttf
|
*.ttf
|
||||||
|
*.woff2
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -1,7 +1,7 @@
|
||||||
NAME := VideowayMono
|
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}
|
all: ${FILES}
|
||||||
|
|
||||||
|
@ -21,6 +21,8 @@ all: ${FILES}
|
||||||
%HiDpi.ttf: %-22.bdf
|
%HiDpi.ttf: %-22.bdf
|
||||||
rm -f $@
|
rm -f $@
|
||||||
bitsnpicas convertbitmap -f ttf -o $@ -s Mono -r Mono-HiDpi $<
|
bitsnpicas convertbitmap -f ttf -o $@ -s Mono -r Mono-HiDpi $<
|
||||||
|
.ttf.woff2:
|
||||||
|
woff2_compress $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ${FILES} ${NAME}.afm
|
rm -f ${FILES} ${NAME}.afm
|
Loading…
Reference in New Issue