Home
last modified time | relevance | path

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

/PHP-7.4/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-7.4/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-7.4/ext/phar/tests/zip/
H A Dbug48791.phpt13font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font
/PHP-7.4/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-7.4/ext/gd/
H A Dgd.c1462 efree(font); in PHP_FUNCTION()
1476 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
1478 efree(font); in PHP_FUNCTION()
1483 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
1485 font->w = FLIPWORD(font->w); in PHP_FUNCTION()
1486 font->h = FLIPWORD(font->h); in PHP_FUNCTION()
1487 font->nchars = FLIPWORD(font->nchars); in PHP_FUNCTION()
1488 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
1494 body_size = font->w * font->h * font->nchars; in PHP_FUNCTION()
3634 return font; in php_find_gd_font()
[all …]
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)])],
/PHP-7.4/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-7.4/ext/sockets/tests/
H A Dsocket_strerror.phpt83 string(20) "Bad font file format"
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます12680 >0 use gdos-font
12692 0 name gdos-font
12740 >0 use sfnt-font
12744 >0 use sfnt-font
12749 >0 use sfnt-font
12752 0 name sfnt-font
12765 !:mime font/sfnt
12772 !:mime font/otf
12861 !:mime font/ttf
12866 !:mime font/otf
[all …]
H A Dmagic12680 >0 use gdos-font
12692 0 name gdos-font
12740 >0 use sfnt-font
12744 >0 use sfnt-font
12749 >0 use sfnt-font
12752 0 name sfnt-font
12765 !:mime font/sfnt
12772 !:mime font/otf
12861 !:mime font/ttf
12866 !:mime font/otf
[all …]

Completed in 145 milliseconds