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

Author Topic: sf::Font - fail character set  (Read 3358 times)

0 Members and 1 Guest are viewing this topic.

lakunar

  • Newbie
  • *
  • Posts: 20
    • View Profile
sf::Font - fail character set
« on: February 21, 2011, 08:55:59 pm »
Hi
I tried to load Marlett.ttf (windows symbol font) and got:
Failed to load font "Marlett.ttf" (failed to set the Unicode character set)

Are there any workarounds or do i have to use a other font?

Using: Sfml 2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
sf::Font - fail character set
« Reply #1 on: February 21, 2011, 09:48:29 pm »
Apparently this font doesn't define a Unicode characters set, which is required by SFML. You'll have to choose another one.
Laurent Gomila - SFML developer

lakunar

  • Newbie
  • *
  • Posts: 20
    • View Profile
sf::Font - fail character set
« Reply #2 on: February 22, 2011, 02:20:47 pm »
ok, thanks.

 

anything