sin and cos ?

This is a discussion on sin and cos ? within the Game Programming forums, part of the General Programming Boards category; How do I use fonts in SDL? I didn't find anything about it in the supplied documentation. Can you use ...

  1. #1
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190

    Question Fonts in SDL??

    How do I use fonts in SDL? I didn't find anything about it in the supplied documentation. Can you use ttf-fonts?

    (sorry for the wrong title... but i could neither changed it nor delete this post - i don't know why )
    Last edited by MathFan; 12-25-2003 at 10:58 AM.
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    There is a library called SDL_ttf that you can download off of www.libsdl.org. It is a 3rd party library, not made by the makers of SDL themseleves.

    It can do TTF fonts. If I remember correctly, it is also highly portable, and is not Windows dependent.
    My Website

    "Circular logic is good because it is."

  3. #3
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    thanx, i'll try it out...
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with cos, sin fuctions
    By xxxhunter in forum C Programming
    Replies: 7
    Last Post: 11-16-2007, 02:33 AM
  2. Help with cos, sin and tan^-1 (arctan);
    By xIcyx in forum C Programming
    Replies: 15
    Last Post: 04-23-2007, 09:14 AM
  3. Help creating function of sin cos and tan
    By Niz in forum C Programming
    Replies: 12
    Last Post: 01-09-2007, 04:55 PM
  4. sin() and cos() that use degrees
    By dwks in forum C Programming
    Replies: 3
    Last Post: 05-14-2005, 04:29 PM
  5. integral of 1/x
    By Silvercord in forum A Brief History of Cprogramming.com
    Replies: 43
    Last Post: 03-19-2004, 06:47 AM

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