Problem with custom fonts on Windows Simulator

I've been having problems using custom fonts in my game in Windows Simulator.
I currently have 2 fonts: "Lato-Regular.ttf" and "Lato-Bold.ttf".
When I run native.getFontNames(), the only name I get for these fonts is "Lato".

When I use "Lato" for my fonts, the output text shows that it uses "Lato-Regular.ttf". From this, I know that I have properly setup my fonts.

Now the problem is this: How do I specify that I want to use the Bold version? I have tried both "Lato Bold" and "Lato-Bold" but the simulator says that it cannot find the specified fonts.

I also tried uninstalling "Lato-Regular.ttf" from my machine and removing the ttf file from my project directory (so that only "Lato-Bold.ttf" is installed) but the simulator shows no text on the screen, not even an error on the console.

Any help would be appreciated. Thanks.

views:1541 update:2012/1/11 9:01:14
corona forums © 2003-2011