Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Thanked 0 Times in 0 Posts

    How do they do that?

    I am the owner of quite a popular, but new font archive site. And through my thorough searching around the web sites, I have come across an online font veiwer, that is run by PHP and allows users to type in their sample text and the PHP scripting will show the text as an image using the text they typed in. Is this is available to buy or are webmasters developing these themselves?

    I am quite an expert at HTML, can cut+copy and semi understand alot of javascript, even understand the basic's of CGI/Perl. But PHP is completely new and I will be getting familiar with it ASAP.

    If anyone can help me out for the time being, I would be very grateful.

    Aka Golden_Eagle

  2. #2
    Super Moderator
    Join Date
    May 2002
    Perth Australia
    Thanked 110 Times in 108 Posts
    You can use PHP's built in GD fuctions to achieve this or the ImageMagick libraries which are normally available on most decent hosts, in saying that I have not a clue how the fonts are stored on the server although I can think of at least 2 regulars who are pretty hot with the image creation possibilites provided by or accesible via PHP& I am sure they will help out

    As a side note if you are comfortable with PERL there is an imageMagic module for PERL, whether your host has that installed is a good question to ask them.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts