[req] Php Font Change Help

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by Derek, May 26, 2007.

  1. Derek

    Derek Community Support Force Community Support

    Messages:
    12,883
    Likes Received:
    186
    Trophy Points:
    63
    Can someone help me change the font to this to some other one..

    PHP:
    <?php
    header
    ("Content-type: image/png");
    $string $_GET['text'];
    $im     imagecreatefrompng("images/blank.PNG");
    $black imagecolorallocate($im18221060);
    $px     = (imagesx($im) - strlen($string)) / 2;
    imagestring($im2152$string$textcolor);
    imagepng($im);
    imagedestroy($im);
    ?>
    I want that instead of looking like that

    [​IMG]

    to look like this
    [​IMG]
     
  2. Bryon

    Bryon I Fix Things

    Messages:
    8,149
    Likes Received:
    99
    Trophy Points:
    48
  3. Cubeform

    Cubeform New Member

    Messages:
    339
    Likes Received:
    0
    Trophy Points:
    0
    Of course, you'll need to upload the TrueType font you want to your hosting space.
     
  4. Derek

    Derek Community Support Force Community Support

    Messages:
    12,883
    Likes Received:
    186
    Trophy Points:
    63
  5. Shadow121

    Shadow121 Member

    Messages:
    901
    Likes Received:
    0
    Trophy Points:
    16
  6. Derek

    Derek Community Support Force Community Support

    Messages:
    12,883
    Likes Received:
    186
    Trophy Points:
    63
    I still need help with this. Offering points still.
     

Share This Page