freebsd-ports/graphics/p5-GD2/files/patch-ab
Dmitry Sivachenko 19dcb04cd2 Replace Freetype1-specific call with one sutable to freetype2,
because gd depends on freetype2 for a while.

Submitted by:	David Bushong <david@bushong.net>
2001-03-19 09:55:45 +00:00

12 lines
362 B
Plaintext

--- GD.xs.orig Thu Aug 24 18:41:47 2000
+++ GD.xs Mon Mar 19 12:45:05 2001
@@ -1278,7 +1278,7 @@
img = NULL;
}
- err = gdImageStringTTF(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
+ err = gdImageStringFT(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
if (err) {
errormsg = perl_get_sv("@",0);
if (errormsg != NULL)