From 0e23f12caa09cd3848076be24a9ed8920d2d678d Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda Date: Wed, 26 Jul 2017 20:53:58 +0900 Subject: [PATCH] Issue 5163: Update URW++ OTF files URW++ has been released URW++ core 35 fonts 2017-07-20. It has some bugfixes. This commit makes configure script can find latest URW++ OTF files (2017-07-20). http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=1f28a6fcd2176256a995db907d9ffe6e1b9b83e9 It also can find previously released files (2017-05 and 2016). http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=e3c665a8a3df36a54b22ad0b6176283db5310f97 http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=79bcdfb34fbce12b592cce389fa7a19da6b5b018 --- configure.ac | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 11addfb700..8e3cabe01e 100644 --- a/configure.ac +++ b/configure.ac @@ -127,8 +127,8 @@ if test "$URWOTF_DIR" != "" ; then C059-Italic.otf C059-Roman.otf \ NimbusMonoPS-Bold.otf NimbusMonoPS-BoldItalic.otf \ NimbusMonoPS-Italic.otf NimbusMonoPS-Regular.otf \ - NimbusSans-Bold.otf NimbusSans-BoldOblique.otf \ - NimbusSans-Oblique.otf NimbusSans-Regular.otf; do + NimbusSans-Bold.otf NimbusSans-BoldItalic.otf \ + NimbusSans-Italic.otf NimbusSans-Regular.otf; do if test ! -f "$URWOTF_DIR/$f"; then MISSING_URWOTF_FILES="$MISSING_URWOTF_FILES $f" else @@ -136,6 +136,12 @@ if test "$URWOTF_DIR" != "" ; then fi done fi +if test "$MISSING_URWOTF_FILES"="NimbusSans-BoldItalic.otf NimbusSans-Italic.otf" && \ + test -f "$URWOTF_DIR/NimbusSans-BoldOblique.otf" && \ + test -f "$URWOTF_DIR/NimbusSans-Oblique.otf"; then + MISSING_URWOTF_FILES="" + URWOTF_FILES="$URWOTF_FILES NimbusSans-BoldOblique.otf NimbusSans-Oblique.otf" +fi if test "$URWOTF_DIR" = "" -o "$MISSING_URWOTF_FILES" != ""; then AC_MSG_RESULT(no) STEPMAKE_ADD_ENTRY(OPTIONAL,URW++ OTF fonts) @@ -143,7 +149,7 @@ if test "$URWOTF_DIR" = "" -o "$MISSING_URWOTF_FILES" != ""; then if test "$FCLIST" = ""; then STEPMAKE_ADD_ENTRY(OPTIONAL,'(install the fc-list utility from FontConfig, or use --with-urwotf-dir)') else - STEPMAKE_ADD_ENTRY(OPTIONAL,"(download OTF files from 'http://git.ghostscript.com/?p=urw-core35-fonts.git;a=commit;h=79bcdfb34fbce12b592cce389fa7a19da6b5b018' and put them under '~/.local/share/fonts' etc., or use --with-urwotf-dir)") + STEPMAKE_ADD_ENTRY(OPTIONAL,"(download OTF files from 'http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=1f28a6fcd2176256a995db907d9ffe6e1b9b83e9' and put them under '~/.local/share/fonts' etc., or use --with-urwotf-dir)") fi else STEPMAKE_ADD_ENTRY(OPTIONAL,'(these files are missing: $MISSING_URWOTF_FILES)') -- 2.39.2