Home
TeamSite
TrueType font not supported by GD perl module in TS 6.5
gupta
I am using GD perl module in my perl code to generate a gif image. This image contains a text with a specific font and background.
Whenever i run my perl code the background and the lines gets perfectly generated except for the text.
I am using the following method call to add text into my image:
$im->stringFT($fontColor,
$font,
$XptSize,$YptSize,$XCord,$YCord + $lineSpace4,
$typo_text4
);
when I run the code, I get the following error : libgd was not built with FreeType font support
this issue was raised when we upgraded to TS 6.5 from TS 5.5.2 earlier the code used to work perfectly alright.
The OS is Sun Solaris.
can anybody help me out in this?
Find more posts tagged with
Comments
Jamik
RTFM
From
http://www.boutell.com/gd/manual2.0.33.html
"If you want to use the TrueType font support, you must also install the FreeType 2.x library, including the header files. See the Freetype Home Page, or SourceForge. No, I cannot explain why that site is down on a particular day, and no, I can't send you a copy."