Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
header("Content-type: image/png");
$im = imagecreatetruecolor(400, 30);
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);
$text = 'Tuk 6te napi6e6 ne6to';
$font = 'monofont.ttf';
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
imagepng($im);
imagedestroy($im);
?>
Е ми да де.luudman каза:Не, не, не......... Искам да изкарва самата Таблица със Самите БУКВИ на шрифта! Искам даден шрифт да ми излиза като онзи горе! Коя буква как изглежда!
<?php
header("Content-type: image/png");
$im = imagecreatetruecolor(80, 100);
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 80, 100, $white);
$text = $_GET['q'];;
$font = $_GET['f'];
imagettftext($im, 30, 0, 20, 50, $black, $font, $text);
imagepng($im);
imagedestroy($im);
?>
<html>
<head>
<style type="text/css">
</style>
</head>
<body>
<?php
$font='ArgBrujS.ttf'; //име и път до шрифта
$gol ="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9";
$exp = explode(" ", $gol);
$l=0;
echo "<div id='cont'>";
while ($l<count($exp)) {
$abc= $exp[$l];
echo "<div class='bukva'><img src='img.php?q=".$abc."&f=".$font."'><br/>".$abc."</div>";
$l++;
}
echo "</div>";
?>
</body>
</html>