imagecreate hilfe !

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • imagecreate hilfe !

    Hallo !

    Hab ein kleines problem. Hab ne schriftart siehe unten Lucon1.ttf im script. Leider erzeugt er nicht ganz das was ich will weil die schriftart nicht alle sonderzeichen hat. Ich hab die richtige schriftart problem is nur das es keine .tff ist sondern ein .fon .

    Bzw würde auch die Windows Terminal schrift gehen. Meine frage kann ich irgendwie ne .fon einbinden ?

    Habs schon versucht einfach datennahmen reinschreiben bekomme aber nur fehler.


    PHP Code:
     $pic imagecreate($width$size);
      
    $background_color imagecolorallocate($pic255255255);
      
    $text_color imagecolorallocate($pic000);

      
    $font realpath("Lucon1.ttf");
      
    $i 0;
      
    $fh fopen("nfo/" $id ".txt""r");
      while (!
    feof($fh))
      {
        
    $text fgets($fh1024);
        
    ImageTTFText($pic800$i$text_color$font$text);
        
    $i $i +  8;
      }
      
    fclose($fh);
      
    ImagePNG($pic"images/nfo/" $id ".png"); 
    würd mich freuen wenn jemand antwortet
Working...
X