diff options
| -rw-r--r-- | ext/gd/tests/bug48732-mb.phpt | 8 | ||||
| -rw-r--r-- | ext/gd/tests/bug48801-mb.phpt | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/ext/gd/tests/bug48732-mb.phpt b/ext/gd/tests/bug48732-mb.phpt index 7713e51190..42871ee206 100644 --- a/ext/gd/tests/bug48732-mb.phpt +++ b/ext/gd/tests/bug48732-mb.phpt @@ -4,12 +4,8 @@ Bug #48732 (TTF Bounding box wrong for letters below baseline) <?php if(!extension_loaded('gd')){ die('skip gd extension not available'); } if(!function_exists('imagefttext')) die('skip imagefttext() not available'); - if (substr(PHP_OS, 0, 3) != 'WIN') { - die('skip.. only for Windows'); - } + if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows'); ?> ---XFAIL-- -seems freetype issue, to investigate --FILE-- <?php $cwd = dirname(__FILE__); @@ -24,4 +20,4 @@ echo 'Left Bottom: (' . $bbox[0] . ', ' . $bbox[1] . ')'; --CLEAN-- <?php @unlink(dirname(__FILE__) . '/bug48732私はガラスを食べられます.png'); ?> --EXPECTF-- -Left Bottom: (0, 47) +Left Bottom: (0, 46) diff --git a/ext/gd/tests/bug48801-mb.phpt b/ext/gd/tests/bug48801-mb.phpt index c2b6b455ab..a2f6d28a82 100644 --- a/ext/gd/tests/bug48801-mb.phpt +++ b/ext/gd/tests/bug48801-mb.phpt @@ -4,6 +4,7 @@ Bug #48801 (Problem with imagettfbbox) <?php if(!extension_loaded('gd')){ die('skip gd extension not available'); } if(!function_exists('imageftbbox')) die('skip imageftbbox() not available'); + if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows'); ?> --FILE-- <?php |
