Game Development Community

Text/font on iPhone

by Eyal Erez · in iTorque 2D · 11/02/2008 (10:22 pm) · 2 replies

I've noticed that some of the fonts that are working on the Mac do not show up on the iPhone. as soon as I change that back to Ariel it works.
Is there any way to figure out which fonts the iPhone supports?
This problem applies to both Gui text and t2dTextObject.

#1
11/02/2008 (10:43 pm)
Make sure you copy the .uft font files over. I'm not sure where they go on a Mac, but in windows vista they end up in users/username/appdata/roaming/yourpublisher/yourgame/common/data/fonts (Something like that, typing this from memory). You need to copy them to your games common/data/fonts folder before you deploy the game to iPhone.
#2
11/03/2008 (9:54 am)
Thanks Conor, That worked!
I couldn't find .uft on the Mac so I went back to the pc and launched the game from there. once I had to .uft's I copy them back to the Mac and voila. iPhone is good to go.
Cheers!