1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Replace Freetype1-specific call with one sutable to freetype2,

because gd depends on freetype2 for a while.

Submitted by:	David Bushong <david@bushong.net>
This commit is contained in:
Dmitry Sivachenko 2001-03-19 09:55:45 +00:00
parent 27b6c96d7e
commit 19dcb04cd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40040
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- 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)

View File

@ -0,0 +1,11 @@
--- 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)

View File

@ -0,0 +1,11 @@
--- 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)