From c23cf9fc4dedffcdfeeb216dd5a4d999fe5841d3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 4 Jan 2025 14:41:53 +0900 Subject: [PATCH] Sanitize otf fonts with ots-sanitize --- Makefile.in | 8 +++++--- configure.ac | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 544b096..5fb039c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 @@ -28,8 +29,9 @@ Asana/Asana-Math: Asana: Asana/Asana-Math # Keep only the otf files and doc and convert into WOFF. - cp $ $@/CheckFontLog.txt 2> $@/CheckFontError.txt diff --git a/configure.ac b/configure.ac index b552650..cfc13a0 100644 --- a/configure.ac +++ b/configure.ac @@ -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