Font in SDL?

This is a discussion on Font in SDL? within the Game Programming forums, part of the General Programming Boards category; Could someone direct me towards a font library for SDL that provides examples? I've searched but can't find one... Thanks, ...

  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, 07:03 AM
  3. destroywindow() problem
    By algi in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2005, 10:40 PM
  4. button in function
    By algi in forum Windows Programming
    Replies: 1
    Last Post: 03-21-2005, 10:12 PM
  5. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 09:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21