bug00132.c (libgd-2.2.4) | : | bug00132.c (libgd-2.2.5) | ||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
#include "gdtest.h" | #include "gdtest.h" | |||
#include "gdfontl.h" | #include "gdfontl.h" | |||
int main() | int main() | |||
{ | { | |||
gdImagePtr im; | gdImagePtr im; | |||
int error = 0; | int error = 0; | |||
char *path; | char *path; | |||
char *ret = NULL; | char *ret = NULL; | |||
/* disable subpixel hinting */ | ||||
putenv("FREETYPE_PROPERTIES=truetype:interpreter-version=35"); | ||||
im = gdImageCreateTrueColor(50, 30); | im = gdImageCreateTrueColor(50, 30); | |||
if (!im) { | if (!im) { | |||
gdTestErrorMsg("can't get truecolor image\n"); | gdTestErrorMsg("can't get truecolor image\n"); | |||
return 1; | return 1; | |||
} | } | |||
gdImageAlphaBlending(im, 0); | gdImageAlphaBlending(im, 0); | |||
gdImageFilledRectangle(im, 0, 0, 200, 200, gdTrueColorAlpha(0, 0, 0, 127) ); | gdImageFilledRectangle(im, 0, 0, 200, 200, gdTrueColorAlpha(0, 0, 0, 127) ); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |