Home
last modified time | relevance | path

Searched refs:font (Results 1 – 25 of 28) sorted by relevance

12

/PHP-8.1/ext/gd/tests/
H A Dbug81739.phpt7 $s = fopen(__DIR__ . "/font.font", "w");
11 var_dump(imageloadfont(__DIR__ . "/font.font"));
15 @unlink(__DIR__ . "/font.font");
21 Warning: imageloadfont(): Error reading font, invalid font header in %s on line %d
H A Dimageloadfont_invalid.phpt7 $filename = __DIR__ . '/font.gdf';
14 $font = imageloadfont($filename);
16 imagestring($image, $font, 0, 0, "Hello", $black);
23 Warning: imageloadfont(): Error reading font, invalid font header in %simageloadfont_invalid.php on…
H A Dbug48801-mb.phpt8 … if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
13 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
14 $bbox = imageftbbox(50, 0, $font, "image");
H A Dimageloadfont_end_of_file_while_reading_header.phpt10 $filename = __DIR__ . '/font.gdf';
17 $font = imageloadfont($filename);
24 $font = imageloadfont($filename);
28 unlink(__DIR__.'/font.gdf');
H A Dimagettftext_charmap_order.phpt2 Font charmap order is deterministic based on order in the font, use the selected encoding
12 // this is an Apache Licensed font, see separate LICENSE file
13 $font = __DIR__.'/Rochester-Regular.otf';
42 $font,
H A Dbug48732-mb.phpt8 … if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
13 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
17 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug48555.phpt12 $font = "$cwd/Tuffy.ttf";
13 $box = ImageFTBBox(14, 0, $font, "Text without line-break");
16 $box = ImageFTBBox(14, 0, $font, "Text with\nline-break\none more");
H A Dbug48801.phpt12 $font = "$cwd/Tuffy.ttf";
13 $bbox = imageftbbox(50, 0, $font, "image");
H A Dimageloadfont_error2.phpt9 var_dump( imageloadfont('\src\invalidfile.font') );
12 Warning: imageloadfont(\src\invalidfile.font): Failed to open stream: No such file or directory in …
H A Dbug48732.phpt12 $font = "$cwd/Tuffy.ttf";
16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug49600.phpt13 $font = "$cwd/Tuffy.ttf";
18 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
H A Dbug50194.phpt20 $font = __DIR__ . DIRECTORY_SEPARATOR . 'Tuffy.ttf';
21 imagettftext($im, 40, 0, 10, 40, $black, $font, $text);
H A Dbug53504.phpt12 $font = "$cwd/Tuffy.ttf";
21 // Kerning examples (unfortunately not available in "Tuffy" test font):
54 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
67 $test['x'], $test['y'], $black, $font, $test['text']);
H A Dbug43073.phpt30 $font = "$cwd/Tuffy.ttf";
41 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF');
/PHP-8.1/ext/phar/tests/zip/
H A Dbug48791.phpt12font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font
/PHP-8.1/ext/filter/tests/
H A D026.phpt8 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to…
12 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to…
16 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to…
/PHP-8.1/ext/session/tests/
H A Dbug36459.phpt27 style="font: normal 11pt Times New Roman">incorrect link</a><br />
29 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2" style="font: normal 11pt Times New Rom…
40 style="font: normal 11pt Times New Roman">incorrect link</a><br />
42 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2&sid=%s" style="font: normal 11pt Times …
/PHP-8.1/ext/gd/
H A Dgd.c720 efree(font); in PHP_FUNCTION()
734 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
736 efree(font); in PHP_FUNCTION()
741 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
743 font->w = FLIPWORD(font->w); in PHP_FUNCTION()
744 font->h = FLIPWORD(font->h); in PHP_FUNCTION()
745 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION()
746 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
752 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
757 efree(font); in PHP_FUNCTION()
[all …]
H A Dgd.stub.php234 function imagefontwidth(GdFont|int $font): int {} argument
236 function imagefontheight(GdFont|int $font): int {} argument
238 function imagechar(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color): boo… argument
240 function imagecharup(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color): b… argument
242 function imagestring(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color):… argument
244 function imagestringup(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color… argument
H A Dconfig.m458 [whether to enable JIS-mapped Japanese font support in GD],
60 [GD: Enable JIS-mapped Japanese font support (only for bundled libgd)])],
H A Dgd_arginfo.h409 ZEND_ARG_OBJ_TYPE_MASK(0, font, GdFont, MAY_BE_LONG, NULL)
416 ZEND_ARG_OBJ_TYPE_MASK(0, font, GdFont, MAY_BE_LONG, NULL)
427 ZEND_ARG_OBJ_TYPE_MASK(0, font, GdFont, MAY_BE_LONG, NULL)
/PHP-8.1/ext/gd/libgd/
H A Dgdft.c831 font_t *font; local
883 font = (font_t *) gdCacheGet (fontCache, &fontkey);
884 if (!font) {
889 face = font->face; /* shortcut */
930 if (font->have_char_map_unicode) {
935 if (font->have_char_map_sjis) {
957 if (font->have_char_map_sjis) {
998 if (font->face->family_name && font->face->charmap->encoding &&
999font->face->charmap->encoding == FT_ENCODING_MS_SYMBOL && strcmp(font->face->family_name, "Symbol"…
1015 if (font->have_char_map_unicode) {
[all …]
/PHP-8.1/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt47 string(9) "font/woff"
H A Dmagic13900 0 name gdos-font
13950 >0 use sfnt-font
13954 >0 use sfnt-font
13959 >0 use sfnt-font
13962 0 name sfnt-font
13975 !:mime font/sfnt
13982 !:mime font/otf
14071 !:mime font/ttf
14076 !:mime font/otf
14127 !:mime font/woff
[all …]
/PHP-8.1/ext/fileinfo/
H A Dmagicdata.patch35 -!:mime font/woff
41 -!:mime font/woff2

Completed in 135 milliseconds

12