Thread: Font in SDL?

  1. #1
    napKINfolk.com napkin111's Avatar
    Join Date
    Apr 2002
    Posts
    310

    Font in SDL?

    Could someone direct me towards a font library for SDL that provides examples? I've searched but can't find one...

    Thanks,

    //napKIN

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    They have some at http://www.libsdl.org
    But I think it'd be best (and more fun) to write one yourself.

  3. #3
    napKINfolk.com napkin111's Avatar
    Join Date
    Apr 2002
    Posts
    310
    Thanks. I'm thinking about making my own, but I'm not sure exactly how I would go about it. Have a big .bmp with all the chars on it, then analyze all the chars in a string and draw each part of the .bmp depending on the char?

    //napKIN

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX | Drawing text
    By gavra in forum Game Programming
    Replies: 4
    Last Post: 06-08-2009, 12:23 AM
  2. problem with my font manager
    By hannibar in forum C Programming
    Replies: 1
    Last Post: 03-07-2006, 08:03 AM
  3. destroywindow() problem
    By algi in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2005, 11:40 PM
  4. button in function
    By algi in forum Windows Programming
    Replies: 1
    Last Post: 03-21-2005, 11:12 PM
  5. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM