Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

COMPRESS=@PYTHON@ ../compress-font.py
OTSSANITIZE=@OTSSANITIZE@

# Build all the open source fonts
all: Asana DejaVu FiraMath Garamond GFS_NeoHellenic LatinModern LeteSansMath Libertinus NewComputerModern NewComputerModernSans NotoSans Plex STIX TeXGyreBonum TeXGyrePagella TeXGyreSchola TeXGyreTermes XITS
Expand All @@ -28,8 +29,9 @@ Asana/Asana-Math:

Asana: Asana/Asana-Math
# Keep only the otf files and doc and convert into WOFF.
cp $</* $@; cd $@; rm *.TTC; \
$(COMPRESS) Asana-Math.otf; rm *.otf;
cp $</* $@; cd $@; rm *.TTC;
cd $@ && $(OTSSANITIZE) Asana-Math.otf
cd $@ && $(COMPRESS) Asana-Math.otf; rm *.otf;
# The Asana package on CTAN does not contain any OFL license, so we
# complete the copyright information here.
cp $</OFL-FAQ.txt $@;
Expand Down Expand Up @@ -92,7 +94,7 @@ FiraMath: FiraMath/firamath
# Copy the fonts and doc and convert into WOFF
cp $</LICENSE $/README.md $</*.otf $@
cd $@; \
for f in `ls *.otf`; do $(COMPRESS) $$f; done; rm *.otf
for f in `ls *.otf`; do $(OTSSANITIZE) $$f ; $(COMPRESS) $$f; done; rm *.otf
# Generate CheckFont logs
@PYTHON@ CheckFont.py $@/FiraMath-Regular.woff \
> $@/CheckFontLog.txt 2> $@/CheckFontError.txt
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ AC_CHECK_PROGS(SED, sed)
AC_CHECK_PROGS(UNZIP, unzip)
AC_CHECK_PROGS(WGET, wget)
AC_CHECK_PROGS(ZIP, zip)
AC_CHECK_PROGS(OTSSANITIZE, ots-sanitize)

AC_CONFIG_FILES(Makefile)
AC_OUTPUT