Advertisement
lavalevel

My config file for font with example.

Oct 29th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.09 KB | None | 0 0
  1. -- NOTE: QuadratSerial.ttf included in build folder
  2.  
  3.  
  4. settings = {
  5.     orientation =
  6.     {
  7.         default = "portrait",
  8.         supported =
  9.         {
  10.              "portrait", "portraitUpsideDown"
  11.         },
  12.     },
  13.     androidPermissions =
  14.     {
  15.             "android.permission.INTERNET",
  16.     },
  17.     iphone =
  18.     {
  19.         plist=
  20.         {
  21.  
  22.             components = {},
  23.             UIPrerenderedIcon = false,
  24.             UIStatusBarHidden=true,
  25.             UIApplicationExitsOnSuspend = false,
  26.             UIAppFonts =
  27.             {
  28.                 "QuadratSerial.ttf",
  29.             },
  30.             CFBundleIconFile = "Icon.png",
  31.             CFBundleIconFiles = {
  32.                 "Icon-72.png" ,
  33.                 "[email protected]" ,
  34.                 "Icon-Small-50.png" ,
  35.                 "[email protected]",
  36.                 "Icon-Small.png",
  37.                 "[email protected]",
  38.                 "Icon.png",
  39.                 "[email protected]",
  40.  
  41.            },
  42.         },
  43.     },
  44. }
  45.  
  46.  
  47.  
  48. -- EXAMPLE OF USING IT ...
  49.  
  50. elements.Text_Header = display.newText( "", 0, 0, "QuadratSerial", 24 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement