Bug 115716

Summary: convert gives error "FreeType library is not available"
Product: [Fedora] Fedora Reporter: Rick Richardson <rickrich>
Component: ImageMagickAssignee: Jonathan Blandford <jrb>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: ddumas, dust, john, moneta.mace
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-23 13:12:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114961    

Description Rick Richardson 2004-02-15 12:07:54 UTC
ImageMagick, ghostscript, and freetype are all installed and up2date.
 But I get this error from "convert":

convert -fill red -draw 'rectangle 639,502 640,521' -draw 'rectangle
630,511 649,512' -box white -fill black -draw 'text 642,509 "50.13.748
8.46.030"' /tmp/geo2716-imap.gif /tmp/geo2716-map.gif

convert: FreeType library is not available
(/usr/share/fonts/default/Type1/n019003l.pfb).

Works fine on RH7.2 and RH8.0.  But not on FC2T1.

I really don't know where the problem lies.

Comment 1 Rick Richardson 2004-02-15 12:09:22 UTC
Oh yeah, you can get the whole 'geo-map' shell script to generate
custom test cases from here:  http://geo.rkkda.com.

Comment 2 Rick Richardson 2004-02-15 12:16:13 UTC
$ root rpm -q --whatprovides /usr/bin/convert
ImageMagick-5.5.7.15-0.2
$ root rpm -q --whatprovides /usr/lib/libfreetype.so
freetype-devel-2.1.7-1


Comment 3 Mace Moneta 2004-03-10 19:54:56 UTC
Seeing the same problem here, clean FC1 install, all up2date as of
this 3/10/2004.  Command:

DTE=`/bin/date`
/usr/bin/convert IMAGE.JPG -type truecolormatte                 \
                 -fill '#00000080' -draw 'rectangle 5,5,190,25' \
                 -fill white -draw "text 10,20 '$DTE'"          \
                  test.jpg

Result:
/usr/bin/convert: FreeType library is not available
(/usr/share/fonts/default/Type1/n019003l.pfb).

Comment 4 Karsten Hopp 2004-03-23 13:12:16 UTC
fixed in ImageMagick-5.5.7.15-1.3 

Comment 5 John Beatty 2004-03-24 05:08:43 UTC
I am using  ImageMagick-5.5.7-16

convert -fill blue -draw "text 100,100 Cockatoo" temp2.png temp3.png
convert: FreeType library is not available 
(/usr/share/fonts/default/Type1/n019003l.pfb).

I get same error no matter how I word the command with different font 
options. If I'm doing any kind of text it spits out that error.

Comment 6 Karsten Hopp 2004-03-25 11:56:30 UTC
@John Beatty: 
Where did you get ImageMagick-5.5.7-16 ? I don't think that's  
one of our packages. As far as I know 5.5.7.15-1.3 is the latest 
one for fedora-core-2. 

Comment 7 John Beatty 2004-03-26 01:21:28 UTC
I apologize I'm not very knowledgeable with the Linux world. I 
evidentially have Red Hat Linux 7.2 (Enigma).

I found this post doing a web search and its the only information I 
could find that mentions the exact same bug I'm getting. If you have 
anything else you can tell me or someoen to contact about it I would 
greatly appreciate it.

My problem is exactly as its been described here so maybe there is 
something you can have me try to resolve it. Thanks!

Comment 8 Heping Zheng 2005-02-18 20:28:47 UTC
It is likely you do not install freetype-devel. Imagemagick require
both freetype & freetype-devel package installed on the system before
you can use the font.So you need to recompile ImageMagick with both
library installed.