Vebers Posted January 14, 2006 Report Share Posted January 14, 2006 Problēma tāda, ka uz bildes rakstot tekstu ar True Type fontiem nekas neuzrakstās. Uz Win viss ok, bet kad uzlieku uz servera rakstītais teksts neparādas.. Serveris ir kāds no *nix saimes. imagettftext($im, 5, 0, $x, $y, $txt_color, 'verdana.ttf', '126'); Link to comment Share on other sites More sharing options...
bubu Posted January 14, 2006 Report Share Posted January 14, 2006 Nu un tev tur ir pieejams verdana.ttf fails? Link to comment Share on other sites More sharing options...
Vebers Posted January 14, 2006 Author Report Share Posted January 14, 2006 (edited) Nu uz servera kā jau agrāk teicu darbojas safe_mode .. Vai šis fails ir uz servera es nezinu, bet iekopejot no win šo failu uz serveri (taha dirā kur darbojas skripts), nekādas reakcijas.. Problēmu atrisināju. Fontu iekopēju tajā direktorijā kurā atradās skripts un pielietoju tā : imagettftext($im, 5, 0, $x, $y, $txt_color, './verdana.ttf', '126'); Edited January 14, 2006 by MakaTaNaw Link to comment Share on other sites More sharing options...
v3rb0 Posted January 14, 2006 Report Share Posted January 14, 2006 if(file_exists('./verdana.ttf')) echo 'ir'; Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 14, 2006 Report Share Posted January 14, 2006 Nu un tev tur ir pieejams verdana.ttf fails? nu un ja arii uz serveraa ir tas ttf? kaada starpiiba? fonti ---> vieniigi klienta pusee.. ir paraadiisim nav raadiisim liidziigus... un tas arii viss... iesaku palasiit par fontiem kaa taadiem ........ Link to comment Share on other sites More sharing options...
bubu Posted January 14, 2006 Report Share Posted January 14, 2006 Grey_Wolf, sestdienas vakārā apdzēries esi? :D php kods vs klienta pusa, aļo?!? Link to comment Share on other sites More sharing options...
Recommended Posts