Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: failed to create the font face  (Read 4461 times)

0 Members and 1 Guest are viewing this topic.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
failed to create the font face
« on: July 26, 2013, 03:03:05 am »
Hello! I have a problem regarding my game prototype. It could not load the font face. I do not intend to put the entire code and what went wrong, I just have simply recreated a simple SFML code that loads font and still get the same error. I never had this error once.

What causes this??? I need help.

The Hatchet

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • Email
Re: failed to create the font face
« Reply #1 on: July 26, 2013, 03:23:03 am »
Without an actual error descriptor or your code we can't really help you.  Post  a minimal and complete code that reproduces this error and the error itself and then we'll see.

datMoka

  • Newbie
  • *
  • Posts: 48
  • Wooo!
    • View Profile
Re: failed to create the font face
« Reply #2 on: July 26, 2013, 08:35:09 pm »
You get that error if the font you're using is either: Inaccessible or corrupted. Check the line where you load the font into the program and make sure that it's all spelled correctly and you have the right extention on the end - normally .ttf.