Lines 36-42
Link Here
|
36 |
# Required packages: |
36 |
# Required packages: |
37 |
# GNU Ghostscript Fonts Package -> ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz |
37 |
# GNU Ghostscript Fonts Package -> ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz |
38 |
# Re-compile Imagemagick with Ghostscript font support once installed |
38 |
# Re-compile Imagemagick with Ghostscript font support once installed |
39 |
# In a terminal type `convert -list type`, if the fonts package is installed correctly, it will show a list of fonts |
39 |
# In a terminal type `convert -list font`, if the fonts package is installed correctly, it will show a list of fonts |
40 |
# Imagemagick built with Ghostscript font support -> http://www.imagemagick.org/ |
40 |
# Imagemagick built with Ghostscript font support -> http://www.imagemagick.org/ |
41 |
# |
41 |
# |
42 |
################################################################################################ |
42 |
################################################################################################ |
Lines 428-434
check_tools () {
Link Here
|
428 |
} |
428 |
} |
429 |
|
429 |
|
430 |
fontpath () { |
430 |
fontpath () { |
431 |
GS_XML=`convert -list type | grep Path: | grep ghostscript | awk '{print $2}'` |
431 |
GS_XML=`convert -list font | grep Path: | grep ghostscript | awk '{print $2}'` |
432 |
if [ ! -f "$GS_XML" ] || [ ! -f "`cat $GS_XML | grep glyphs | tail -n1 | cut -d= -f2 | sed 's/\"//g'`" ]; then |
432 |
if [ ! -f "$GS_XML" ] || [ ! -f "`cat $GS_XML | grep glyphs | tail -n1 | cut -d= -f2 | sed 's/\"//g'`" ]; then |
433 |
errmsg Error: "GNU-Ghostscript fonts were not found" |
433 |
errmsg Error: "GNU-Ghostscript fonts were not found" |
434 |
echo " Please install GNU-Ghostscript fonts package found here ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/" |
434 |
echo " Please install GNU-Ghostscript fonts package found here ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/" |