Home
last modified time | relevance | path

Searched refs:fontname (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/gd/
H A Dgd.c3074 char *str = NULL, *fontname = NULL; in php_imagettftext_common() local
3079 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ddss|a", &ptsize, &angle, &fontname, &fontname_len, &s… in php_imagettftext_common()
3083 …ARGS(), "Oddlllss|a", &IM, gd_image_ce, &ptsize, &angle, &x, &y, &col, &fontname, &fontname_len, &… in php_imagettftext_common()
3114 if (!VCWD_REALPATH(fontname, tmp_font_path)) { in php_imagettftext_common()
3115 fontname = NULL; in php_imagettftext_common()
3120 PHP_GD_CHECK_OPEN_BASEDIR(fontname, "Invalid font filename"); in php_imagettftext_common()
3123 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3125 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()

Completed in 14 milliseconds