Home
last modified time | relevance | path

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

/PHP-8.0/ext/gd/tests/
H A Dbug81739.phpt9 $s = fopen(__DIR__ . "/font.font", "w");
13 var_dump(imageloadfont(__DIR__ . "/font.font"));
17 @unlink(__DIR__ . "/font.font");
23 Warning: imageloadfont(): Error reading font, invalid font header in %s on line %d
H A Dimageloadfont_invalid.phpt9 $filename = __DIR__ . '/font.gdf';
16 $font = imageloadfont($filename);
18 imagestring($image, $font, 0, 0, "Hello", $black);
25 Warning: imageloadfont(): Error reading font, invalid font header in %simageloadfont_invalid.php on…
H A Dbug48801-mb.phpt7 … if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
12 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
13 $bbox = imageftbbox(50, 0, $font, "image");
H A Dimageloadfont_end_of_file_while_reading_header.phpt12 $filename = __DIR__ . '/font.gdf';
19 $font = imageloadfont($filename);
26 $font = imageloadfont($filename);
30 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
11 // this is an Apache Licensed font, see separate LICENSE file
12 $font = __DIR__.'/Rochester-Regular.otf';
41 $font,
H A Dbug48732-mb.phpt7 … if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
12 $font = "$cwd/Tuffy私はガラスを食べられます.ttf";
16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug48555.phpt11 $font = "$cwd/Tuffy.ttf";
12 $box = ImageFTBBox(14, 0, $font, "Text without line-break");
15 $box = ImageFTBBox(14, 0, $font, "Text with\nline-break\none more");
H A Dbug48801.phpt11 $font = "$cwd/Tuffy.ttf";
12 $bbox = imageftbbox(50, 0, $font, "image");
H A Dimageloadfont_error2.phpt11 var_dump( imageloadfont('\src\invalidfile.font') );
14 Warning: imageloadfont(\src\invalidfile.font): Failed to open stream: No such file or directory in …
H A Dbug48732.phpt11 $font = "$cwd/Tuffy.ttf";
15 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug49600.phpt12 $font = "$cwd/Tuffy.ttf";
17 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
H A Dbug50194.phpt19 $font = __DIR__ . DIRECTORY_SEPARATOR . 'Tuffy.ttf';
20 imagettftext($im, 40, 0, 10, 40, $black, $font, $text);
H A Dbug53504.phpt11 $font = "$cwd/Tuffy.ttf";
20 // Kerning examples (unfortunately not available in "Tuffy" test font):
53 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
66 $test['x'], $test['y'], $black, $font, $test['text']);
H A Dbug43073.phpt29 $font = "$cwd/Tuffy.ttf";
40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF');
/PHP-8.0/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.0/ext/phar/tests/zip/
H A Dbug48791.phpt12font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font
/PHP-8.0/ext/session/tests/
H A Dbug36459.phpt25 style="font: normal 11pt Times New Roman">incorrect link</a><br />
27 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2" style="font: normal 11pt Times New Rom…
38 style="font: normal 11pt Times New Roman">incorrect link</a><br />
40 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2&sid=%s" style="font: normal 11pt Times …
/PHP-8.0/ext/gd/
H A Dgd.c663 efree(font); in PHP_FUNCTION()
677 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
679 efree(font); in PHP_FUNCTION()
684 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
686 font->w = FLIPWORD(font->w); in PHP_FUNCTION()
687 font->h = FLIPWORD(font->h); in PHP_FUNCTION()
688 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION()
689 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
695 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
700 efree(font); in PHP_FUNCTION()
[all …]
H A Dgd.stub.php190 function imagefontwidth(int $font): int {} argument
192 function imagefontheight(int $font): int {} argument
194 function imagechar(GdImage $image, int $font, int $x, int $y, string $char, int $color): bool {} argument
196 function imagecharup(GdImage $image, int $font, int $x, int $y, string $char, int $color): bool {} argument
198 function imagestring(GdImage $image, int $font, int $x, int $y, string $string, int $color): bool {} argument
200 function imagestringup(GdImage $image, int $font, int $x, int $y, string $string, int $color): bool… argument
H A Dconfig.m449 [whether to enable JIS-mapped Japanese font support in GD],
51 [GD: Enable JIS-mapped Japanese font support (only for bundled libgd)])],
H A Dgd_arginfo.h394 ZEND_ARG_TYPE_INFO(0, font, IS_LONG, 0)
401 ZEND_ARG_TYPE_INFO(0, font, IS_LONG, 0)
412 ZEND_ARG_TYPE_INFO(0, font, IS_LONG, 0)
/PHP-8.0/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.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます13284 # Windows font name
13385 0 name gdos-font
13435 >0 use sfnt-font
13439 >0 use sfnt-font
13444 >0 use sfnt-font
13447 0 name sfnt-font
13460 !:mime font/sfnt
13467 !:mime font/otf
13556 !:mime font/ttf
13561 !:mime font/otf
[all …]
H A Dmagic13284 # Windows font name
13385 0 name gdos-font
13435 >0 use sfnt-font
13439 >0 use sfnt-font
13444 >0 use sfnt-font
13447 0 name sfnt-font
13460 !:mime font/sfnt
13467 !:mime font/otf
13556 !:mime font/ttf
13561 !:mime font/otf
[all …]

Completed in 196 milliseconds