![]() |
![]() |
-Pitt- |
![]()
Post
#1
|
Goście ![]() |
Mam problem z wyświetlaniem się tekstu w tokenie z literami.
gdy odwołać się do niego bezpośrednio http://prostezycie.boo.pl/boom/login.php?r= wszystko jest ok, jednak przy odwołaniu się przez domenę skierowaną na folder boom nic się nie pojawia poza błędem do image.php http://buxboom.com/login.php?r= Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/accounts_p/prostezycie/public_html/boom/image.php on line 30 Warning: Division by zero in /home/accounts_p/prostezycie/public_html/boom/image.php on line 32 Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/accounts_p/prostezycie/public_html/boom/image.php on line 42 Warning: Wrong parameter count for imagestring() in /home/accounts_p/prostezycie/public_html/boom/image.php on line 43 Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/accounts_p/prostezycie/public_html/boom/image.php on line 42 Warning: Wrong parameter count for imagestring() in /home/accounts_p/prostezycie/public_html/boom/image.php on line 43 Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/accounts_p/prostezycie/public_html/boom/image.php on line 42 I tak dalej.... chodzi o to, że nie znajduję fonta do generacji kodu gdy odwoływać się przez domenę. wycinek kodu php skryptu: (nie śmiać sie - po hiszpańsku) // Creo el color del texto, del texto del fondo y del fondo de la imagen $gris = ImageColorAllocate($im, 247, 247, 247); $colorLetra = ImageColorAllocate($im, 105, 159, 189); $colorLetraFondo = ImageColorAllocate($im, 247, 247, 247); // tipo de letra obtenido en dafont.net $fuente = './image2.ttf'; // Calculo el número de líneas que entran $caja_texto = imagettfbbox($tam_letra, 0, $fuente , $letras); $alto_linea = abs($caja_texto[7]-$caja_texto[1]); $num_lineas = intval($alto_caja / $alto_linea)+1; może trzeba zmienić odniesienie do fonta? Jest on teraz w tym samym folderze co sktypt. Umieszczenie go "wyżej i niżej" nic nie pomaga. Ma ktoś pomysl? |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 17.06.2025 - 18:43 |