Page 1 of 1

TTF Library

Posted: Fri Jul 17, 2009 11:35 pm
by RandomDever
How would i load Times New Roman as a font?

Re: TTF Library

Posted: Fri Jul 17, 2009 11:58 pm
by andrew
1) Read this tutorial.

2) Download this font.

3) Replace the font in the tutorial with the font you downloaded.

I haven't used this tutorial before, but I don't see why it wouldn't work. :)

Re: TTF Library

Posted: Mon Jul 20, 2009 5:08 pm
by RandomDever
New question. I am already using lazyfoo and I tried the key presses. nothing happened when i pressed a key.
so I then downloaded and pasted his source into my project and it still didn't work.
I'm so confused! :cry:

Re: TTF Library

Posted: Mon Jul 20, 2009 8:13 pm
by andrew
Are you talking about Lesson 8?

If you are, it only looks for the arrow keys being pushed and not the ones from the number pad.

Re: TTF Library

Posted: Wed Jul 22, 2009 1:12 am
by RandomDever
andrew wrote:Are you talking about Lesson 8?

If you are, it only looks for the arrow keys being pushed and not the ones from the number pad.
Yes
I know but i've tried both.

Re: TTF Library

Posted: Wed Jul 22, 2009 4:03 pm
by andrew
Let's try to rule out a hardware problem.
Try this file: lesson08.exe
You'll have to put it with the rest of the files it needs for it to work.

If it works on yours, then your problem is probably in the code you compiled.