ImageMagick and windows fonts.
Posted: 2010-01-21T11:28:46-07:00
Hi. In what file(s) ImageMagick hardcodes default font names? Does this default font depends on fontconfig presence or not? Are defaults different for truetype and ghostscript fonts (yes, I think this should be)? Is it hard to add a fallback in the imagemagick code to fall back onto ghostscript if font rendering with windows fonts (truetype) fails?
I'm asking as in Gentoo we had to make ImageMagick depend on windows fonts (corefonts package) but I'd like to make ImageMagick depend on dejavu fonts since Windows fonts license is not nice.
Also it looks like there is bug in configure.ac:
It looks like check should be the following:
In any way, thanks for great software.
I'm asking as in Gentoo we had to make ImageMagick depend on windows fonts (corefonts package) but I'd like to make ImageMagick depend on dejavu fonts since Windows fonts license is not nice.
Also it looks like there is bug in configure.ac:
Code: Select all
if test -n "$windows_font_dir"; then
type_include_files="$type_include_files "'<include file="type-windows.xml" />'
fi
Code: Select all
if test "${windows_font_dir}x" != 'x'; then
...