Home
last modified time | relevance | path

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

12

/PHP-8.3/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 Dgh13082.phpt9 $font = imageloadfont(__DIR__ . "/gh13082.gdf");
10 if ($font === false) die("imageloadfont failed");
11 if (!($font instanceof GdFont)) die("invalid gd font");
13 var_dump(imagefontwidth($font));
14 var_dump(imagefontheight($font));
H A Dgh10344.phpt2 GH-10344 (imagettfbbox(): Could not find/open font UNC path)
17 die("skip font not readable");
23 $font = '\\\\localhost\\c$\\Windows\\Fonts\\arial.ttf';
24 var_dump(count(imagettfbbox(10, 0, $font, 'hello')));
H A Dimageloadfont_invalid.phpt14 $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 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 Dimageloadfont_end_of_file_while_reading_header.phpt17 $font = imageloadfont($filename);
24 $font = imageloadfont($filename);
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.3/ext/phar/tests/zip/
H A Dbug48791.phpt12font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font
/PHP-8.3/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.3/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.3/ext/gd/
H A Dgd.c570 efree(font); in PHP_FUNCTION()
584 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
586 efree(font); in PHP_FUNCTION()
591 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
593 font->w = FLIPWORD(font->w); in PHP_FUNCTION()
594 font->h = FLIPWORD(font->h); in PHP_FUNCTION()
595 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION()
596 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
602 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
607 efree(font); in PHP_FUNCTION()
[all …]
H A Dgd.stub.php696 function imagefontwidth(GdFont|int $font): int {} argument
698 function imagefontheight(GdFont|int $font): int {} argument
700 function imagechar(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color): boo… argument
702 function imagecharup(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color): b… argument
704 function imagestring(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color):… argument
706 function imagestringup(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color… argument
/PHP-8.3/ext/gd/libgd/
H A Dgdft.c841 font_t *font; local
893 font = (font_t *) gdCacheGet (fontCache, &fontkey);
894 if (!font) {
899 face = font->face; /* shortcut */
940 if (font->have_char_map_unicode) {
945 if (font->have_char_map_sjis) {
967 if (font->have_char_map_sjis) {
1008 if (font->face->family_name && font->face->charmap->encoding &&
1009font->face->charmap->encoding == FT_ENCODING_MS_SYMBOL && strcmp(font->face->family_name, "Symbol"…
1025 if (font->have_char_map_unicode) {
[all …]
/PHP-8.3/ext/fileinfo/
H A Dmagicdata.patch8 +!:mime font/woff
14 +!:mime font/woff2
/PHP-8.3/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt47 string(9) "font/woff"
/PHP-8.3/ext/mbstring/tests/
H A Dqprint_encoding.phpt23 testConversion("J'interdis aux marchands de vanter trop leurs marchandises. Car ils se font vite pé…

Completed in 28 milliseconds

12