I've been stuck on something for a while now and I still can't figure this out. I make a title screen with a font that is on my laptop, then I send it to my desktop(That doesn't have the font) with my flashdrive, and the font for the title becomes arial. I want to be able to use other fonts so I went to Control Panel -> Fonts, then copied that font into a folder next to the game, and tried it again after transfering it. There was the same problem. I think I need to use a code that will tell the program to use the font in that folder that came with the program.
The code I use to get any font currently is,
Font fntDestine50 = new Font("AR DESTINE", Font.BOLD, 50);
I think I might need to use something like getFont() but I don't know how that works.
I'm using java to make the game with the jdk1.6.0_13
Edit:
I was able to get the font to work by copying it into where the fonts are located on the computer. Unfortunatly this doesn't help me because noone is going to go out of there way to do that