Font Issue in Device

Hello Everyone,

I am using chinacat font in my application.

It works fine in simulator, but when i deploy it

on device it displays in normal font.

I am deploying it on android device and I have Windows 8.1.

Code:


local fontname=“chinacat”

texts = display.newText(word, 0, 0, fontname, fontsize)


Please help me out of this.

~Thanks

   Rohan Kadolkar

Hi @rohan.k,

Using custom fonts requires some very specific aspects on certain platforms. The following tutorial should help you get this font working on device(s):

http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/

Take care,

Brent

Thanks i solved the issue.

~Cheers

Hi @rohan.k,

Using custom fonts requires some very specific aspects on certain platforms. The following tutorial should help you get this font working on device(s):

http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/

Take care,

Brent

Thanks i solved the issue.

~Cheers