Skip to content

Commit

Permalink
improve URW font search
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Sep 16, 2024
1 parent 27250f4 commit 7875b24
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 9 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5143,7 +5143,7 @@ MAGICK_PATCHLEVEL_VERSION=17

MAGICK_VERSION=6.9.13-17

MAGICK_GIT_REVISION=0c69754b7:20240913
MAGICK_GIT_REVISION=27250f437:20240915


# Substitute library versioning
Expand Down Expand Up @@ -5177,7 +5177,7 @@ PACKAGE_LIB_VERSION=0x69D

PACKAGE_LIB_VERSION_NUMBER=6,9,13,17

PACKAGE_RELEASE_DATE=2024-09-13
PACKAGE_RELEASE_DATE=2024-09-15


# Ensure that make can run correctly
Expand Down Expand Up @@ -36408,6 +36408,13 @@ printf %s "checking for Windows fonts directory... " >&6; }
windows_font_dir=''
if test "${with_windows_font_dir}" != 'default'; then
windows_font_dir="${with_windows_font_dir}/"
else
for font_dir in '/usr/share/wine/fonts/' '/usr/share/fonts/msttcore/' '/usr/share/fonts/microsoft/' '/usr/share/fonts/truetype/msttcorefonts/'; do
if test -f "${font_dir}arial.ttf"; then
windows_font_dir="${font_dir}"
break 1
fi
done
fi
if test "${windows_font_dir}x" != 'x'; then
type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
Expand Down
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3342,6 +3342,13 @@ AC_MSG_CHECKING([for Windows fonts directory])
windows_font_dir=''
if test "${with_windows_font_dir}" != 'default'; then
windows_font_dir="${with_windows_font_dir}/"
else
for font_dir in '/usr/share/wine/fonts/' '/usr/share/fonts/msttcore/' '/usr/share/fonts/microsoft/' '/usr/share/fonts/truetype/msttcorefonts/'; do
if test -f "${font_dir}arial.ttf"; then
windows_font_dir="${font_dir}"
break 1
fi
done
fi
if test "${windows_font_dir}x" != 'x'; then
type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
Expand Down

0 comments on commit 7875b24

Please sign in to comment.