Lines Matching refs:font

627 	ZEND_ARG_INFO(0, font)
631 ZEND_ARG_INFO(0, font)
636 ZEND_ARG_INFO(0, font)
645 ZEND_ARG_INFO(0, font)
654 ZEND_ARG_INFO(0, font)
663 ZEND_ARG_INFO(0, font)
803 ZEND_ARG_INFO(0, font)
817 ZEND_ARG_INFO(0, font)
1475 gdFontPtr font; in PHP_FUNCTION() local
1499 font = (gdFontPtr) emalloc(sizeof(gdFont)); in PHP_FUNCTION()
1501 while (b < hdr_size && (n = php_stream_read(stream, (char*)&font[b], hdr_size - b))) { in PHP_FUNCTION()
1506 efree(font); in PHP_FUNCTION()
1520 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
1522 font->w = FLIPWORD(font->w); in PHP_FUNCTION()
1523 font->h = FLIPWORD(font->h); in PHP_FUNCTION()
1524 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION()
1525 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
1528 if (overflow2(font->nchars, font->h)) { in PHP_FUNCTION()
1530 efree(font); in PHP_FUNCTION()
1534 if (overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
1536 efree(font); in PHP_FUNCTION()
1543 efree(font); in PHP_FUNCTION()
1548 font->data = emalloc(body_size); in PHP_FUNCTION()
1550 while (b < body_size && (n = php_stream_read(stream, &font->data[b], body_size - b))) { in PHP_FUNCTION()
1555 efree(font->data); in PHP_FUNCTION()
1556 efree(font); in PHP_FUNCTION()
1571 ind = 5 + zend_list_insert(font, le_gd_font); in PHP_FUNCTION()
3497 gdFontPtr font; in php_find_gd_font() local
3502 font = gdFontTiny; in php_find_gd_font()
3505 font = gdFontSmall; in php_find_gd_font()
3508 font = gdFontMediumBold; in php_find_gd_font()
3511 font = gdFontLarge; in php_find_gd_font()
3514 font = gdFontGiant; in php_find_gd_font()
3517 font = zend_list_find(size - 5, &ind_type); in php_find_gd_font()
3518 if (!font || ind_type != le_gd_font) { in php_find_gd_font()
3520 font = gdFontTiny; in php_find_gd_font()
3522 font = gdFontGiant; in php_find_gd_font()
3528 return font; in php_find_gd_font()
3539 gdFontPtr font; in php_imagefontsize() local
3545 font = php_find_gd_font(SIZE TSRMLS_CC); in php_imagefontsize()
3546 RETURN_LONG(arg ? font->h : font->w); in php_imagefontsize()
3607 gdFontPtr font; in php_imagechar() local
3628 font = php_find_gd_font(size TSRMLS_CC); in php_imagechar()
3632 gdImageChar(im, font, x, y, ch, col); in php_imagechar()
3635 php_gdimagecharup(im, font, x, y, ch, col); in php_imagechar()
3639 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col); in php_imagechar()
3640 x += font->w; in php_imagechar()
3646 gdImageCharUp(im, font, x, y, (int) str[i], col); in php_imagechar()
3647 y -= font->w; in php_imagechar()
4005 int *font = (int *) rsrc->ptr; in php_free_ps_font() local
4007 T1_DeleteFont(*font); in php_free_ps_font()
4008 efree(font); in php_free_ps_font()
4027 int file_len, f_ind, *font; in PHP_FUNCTION() local
4055 font = (int *) emalloc(sizeof(int)); in PHP_FUNCTION()
4056 *font = f_ind; in PHP_FUNCTION()
4057 ZEND_REGISTER_RESOURCE(return_value, font, le_ps_font); in PHP_FUNCTION()