/php-src/ext/gd/tests/ |
H A D | bug81739.phpt | 7 $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 D | gh13082.phpt | 9 $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 D | gh10344.phpt | 2 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 D | imageloadfont_invalid.phpt | 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 D | bug48801-mb.phpt | 8 … 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 D | imagettftext_charmap_order.phpt | 2 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 D | bug48732-mb.phpt | 8 … if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows'); 16 $font = "$cwd/Tuffy私はガラスを食べられます.ttf"; 20 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
|
H A D | bug48555.phpt | 12 $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 D | bug48801.phpt | 12 $font = "$cwd/Tuffy.ttf"; 13 $bbox = imageftbbox(50, 0, $font, "image");
|
H A D | imageloadfont_error2.phpt | 9 var_dump( imageloadfont('\src\invalidfile.font') ); 12 Warning: imageloadfont(\src\invalidfile.font): Failed to open stream: No such file or directory in …
|
H A D | bug48732.phpt | 16 $font = "$cwd/Tuffy.ttf"; 20 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
|
H A D | bug49600.phpt | 13 $font = "$cwd/Tuffy.ttf"; 18 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
|
H A D | bug50194.phpt | 22 $font = __DIR__ . DIRECTORY_SEPARATOR . 'Tuffy.ttf'; 23 imagettftext($im, 40, 0, 10, 40, $black, $font, $text);
|
H A D | imageloadfont_end_of_file_while_reading_header.phpt | 17 $font = imageloadfont($filename); 24 $font = imageloadfont($filename);
|
H A D | bug53504.phpt | 15 $font = "$cwd/Tuffy.ttf"; 24 // Kerning examples (unfortunately not available in "Tuffy" test font): 57 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']); 70 $test['x'], $test['y'], $black, $font, $test['text']);
|
H A D | bug43073.phpt | 33 $font = "$cwd/Tuffy.ttf"; 44 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF');
|
/php-src/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font…
|
/php-src/ext/filter/tests/ |
H A D | 026.phpt | 8 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-src/ext/session/tests/ |
H A D | bug36459.phpt | 27 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… 43 style="font: normal 11pt Times New Roman">incorrect link</a><br /> 45 …<a href="/b2w/www/ru/adm/pages/?action=prev&rec_id=8&pid=2&sid=%s" style="font: normal 11pt Times …
|
/php-src/ext/gd/ |
H A D | gd.c | 564 efree(font); in PHP_FUNCTION() 578 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION() 580 efree(font); in PHP_FUNCTION() 585 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION() 587 font->w = FLIPWORD(font->w); in PHP_FUNCTION() 588 font->h = FLIPWORD(font->h); in PHP_FUNCTION() 589 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION() 590 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION() 596 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION() 601 efree(font); in PHP_FUNCTION() [all …]
|
H A D | gd.stub.php | 696 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
|
H A D | config.m4 | 52 [whether to enable JIS-mapped Japanese font support in GD], 54 [GD: Enable JIS-mapped Japanese font support (only for bundled libgd)])], 132 [Define to 1 if gd extension has JIS-mapped Japanese font support.]) 134 [Define to 1 if GD library has JIS-mapped Japanese font support.])
|
/php-src/ext/gd/libgd/ |
H A D | gdft.c | 841 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 && 1009 …font->face->charmap->encoding == FT_ENCODING_MS_SYMBOL && strcmp(font->face->family_name, "Symbol"… 1025 if (font->have_char_map_unicode) { [all …]
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 47 string(9) "font/woff"
|
/php-src/ext/mbstring/tests/ |
H A D | qprint_encoding.phpt | 23 testConversion("J'interdis aux marchands de vanter trop leurs marchandises. Car ils se font vite pé…
|