|
@@ 2888-2891 (lines=4) @@
|
| 2885 |
|
// Prints the text strings with the build-in font functions of GD |
| 2886 |
|
$x = 0; |
| 2887 |
|
$font = 0; |
| 2888 |
|
if ($textline1) { |
| 2889 |
|
imagefilledrectangle($im, $x, 9, 56, 16, $white); |
| 2890 |
|
imagestring($im, $font, $x, 9, $textline1, $black); |
| 2891 |
|
} |
| 2892 |
|
if ($textline2) { |
| 2893 |
|
imagefilledrectangle($im, $x, 19, 56, 26, $white); |
| 2894 |
|
imagestring($im, $font, $x, 19, $textline2, $black); |
|
@@ 2892-2895 (lines=4) @@
|
| 2889 |
|
imagefilledrectangle($im, $x, 9, 56, 16, $white); |
| 2890 |
|
imagestring($im, $font, $x, 9, $textline1, $black); |
| 2891 |
|
} |
| 2892 |
|
if ($textline2) { |
| 2893 |
|
imagefilledrectangle($im, $x, 19, 56, 26, $white); |
| 2894 |
|
imagestring($im, $font, $x, 19, $textline2, $black); |
| 2895 |
|
} |
| 2896 |
|
if ($textline3) { |
| 2897 |
|
imagefilledrectangle($im, $x, 29, 56, 36, $white); |
| 2898 |
|
imagestring($im, $font, $x, 29, substr($textline3, -14), $black); |
|
@@ 2896-2899 (lines=4) @@
|
| 2893 |
|
imagefilledrectangle($im, $x, 19, 56, 26, $white); |
| 2894 |
|
imagestring($im, $font, $x, 19, $textline2, $black); |
| 2895 |
|
} |
| 2896 |
|
if ($textline3) { |
| 2897 |
|
imagefilledrectangle($im, $x, 29, 56, 36, $white); |
| 2898 |
|
imagestring($im, $font, $x, 29, substr($textline3, -14), $black); |
| 2899 |
|
} |
| 2900 |
|
// Outputting the image stream and exit |
| 2901 |
|
if (!empty($GLOBALS['TYPO3_CONF_VARS']['GFX']['gdlib_png'])) { |
| 2902 |
|
imagepng($im, $filename); |