Build.Setting problems

Where is the problem:

Corona Simulator Console

WARNING: issue found in build.settings: 

sep. 21 07:00:36.400 WARNING: deprecated key: settings.iphone.plist.UIAppFonts (string)

build.setting File

settings = {

    orientation ={default = “landscapeLeft”,

         supported = { “landscapeRight”, “landscapeLeft”, }

},

             splashScreen ={enable = false},

iphone =

{

plist =

{

UIAppFonts = { “DroidSansMono.ttf”},

UIStatusBarHidden = true,

CFBundleIconFiles =

{

“Icon-167.png”,

“Icon-Small-40.png”,

                        “Icon-Small-40@2x.png”,

                        “Icon-72.png”,

                        “Icon-72@2x.png”,

                        “Icon-76.png”,

                        “Icon-76@2x.png”,

                        “Icon-Small-50.png”,

                        “Icon-Small-50@2x.png”,

},

},

},

}

What is this? 

UIAppFonts = { "DroidSansMono.ttf"},

I have never seen it and I think it is before my time with Corona.

Can you use the new method for custom fonts?

http://docs.coronalabs.com/guide/system/customFont/index.html

Some time ago I used it like that, it worked perfectly. I tried your suggestion. It works wonders. Thank you.

Corona hasn’t used the UIAppFonts key in quite a while. Fonts just have to be in your project now. This is just a warning. It doesn’t hurt to leave the UIAppFonts key in. 

Rob

What is this? 

UIAppFonts = { "DroidSansMono.ttf"},

I have never seen it and I think it is before my time with Corona.

Can you use the new method for custom fonts?

http://docs.coronalabs.com/guide/system/customFont/index.html

Some time ago I used it like that, it worked perfectly. I tried your suggestion. It works wonders. Thank you.

Corona hasn’t used the UIAppFonts key in quite a while. Fonts just have to be in your project now. This is just a warning. It doesn’t hurt to leave the UIAppFonts key in. 

Rob

1 Like