How to make image from font

Discussion in 'Programming' started by newsniche, Sep 30, 2006.

  1. #1
    I have searched and searched but I cannot find any code or exisitng program that can create an image from a font.

    I want to be able to scan all of the fonts on my computer and output a GIF/JPEG image of the font.

    There are several thousand fonts so it would have to be automated.

    I have messed around in VB but cannot create antialiased font images only poor quality blocky fonts.

    Any ideas?
     
    newsniche, Sep 30, 2006 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am not a VB programmer. But, if I were doing this using PHP or perl I would iterate through the fonts, create a picture and type some text to the picture using the target font, and save it using the name of the font I just opened as the name of the file. VB will have equivalent functions.

    I found this tutorial -- http://visualbasic.about.com/od/usingvbnet/a/GDIPlus03_2.htm -- on using GDI+ with VB. It does not directly answer your question, but it includes code examples about using fonts in graphics.
     
    clancey, Sep 30, 2006 IP