Font problem

Hi, im trying to use a font that just doesnt work (in the corona simulator atleast).
The font name is bebasneue, you can easily google and get it.
I have both .otf and .ttf version of it, with my main.lua

Error in console is : Warning: could not load font bebasneue. Using default font.
local Team = display.newText( “ABC”, 350, 100, “bebasneue”, 25 )

[import]uid: 176335 topic_id: 35436 reply_id: 335436[/import]

Hello,
Implementing custom fonts requires a few little tricks. If you haven’t read it already, the following blog post should help you get it working.

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

Sincerely,
Brent Sorrentino [import]uid: 200026 topic_id: 35436 reply_id: 140787[/import]

Font name is case sEnSitiVe
make sure you have the right name its not always the same as in the file

try whit different fonts so you know your code i correct

and of curse you need to instal it on you computer to get it to work in the simulator :slight_smile:

(try using “Bebas Neue” as name ) [import]uid: 147488 topic_id: 35436 reply_id: 140830[/import]

blomjens1 , that worked!

forever shall i owe you for this!

Thanx a lot!

need to remember, “Case sensitive”! [import]uid: 176335 topic_id: 35436 reply_id: 140873[/import]

:slight_smile: glad i can help

remember images is also case sensitive

[import]uid: 147488 topic_id: 35436 reply_id: 140880[/import]

Hello,
Implementing custom fonts requires a few little tricks. If you haven’t read it already, the following blog post should help you get it working.

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

Sincerely,
Brent Sorrentino [import]uid: 200026 topic_id: 35436 reply_id: 140787[/import]

Font name is case sEnSitiVe
make sure you have the right name its not always the same as in the file

try whit different fonts so you know your code i correct

and of curse you need to instal it on you computer to get it to work in the simulator :slight_smile:

(try using “Bebas Neue” as name ) [import]uid: 147488 topic_id: 35436 reply_id: 140830[/import]

blomjens1 , that worked!

forever shall i owe you for this!

Thanx a lot!

need to remember, “Case sensitive”! [import]uid: 176335 topic_id: 35436 reply_id: 140873[/import]

:slight_smile: glad i can help

remember images is also case sensitive

[import]uid: 147488 topic_id: 35436 reply_id: 140880[/import]