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

Author Topic: Outlined text  (Read 38910 times)

0 Members and 2 Guests are viewing this topic.

sirGustav

  • Newbie
  • *
  • Posts: 22
    • View Profile
Outlined text
« Reply #30 on: November 13, 2008, 06:48:57 pm »
sorry for positing in a old topic, but a posssible solution is to drop freetype support and add bmfont support instead. I did that with my game, and I worked out great. My string is rendered roughly the same as sfml does it(I support multiple colors within a single string), so it shouldn't be that hard. As far as I can see I only lost two things when moving to bmfont:
* I cant render white and black texts and get different outlines with the same font but that is a small price to pay. I often keep the outline black and just change the font-color.
* Two or more files instead of a single. This is easily solvable by putting them in a separate directory instead.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Outlined text
« Reply #31 on: November 14, 2008, 07:48:14 am »
I won't drop support for generating text from truetype fonts directly, I'll never require every user to download / install / use a bitmap font generator just to get simple text on screen.

I could rather think about a way to add support for external bitmap fonts to the existing system ;)
Laurent Gomila - SFML developer