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

Author Topic: Display errors with text/font  (Read 3375 times)

0 Members and 2 Guests are viewing this topic.

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Display errors with text/font
« on: May 10, 2012, 09:41:52 am »
I found a bug with the Text/Font class.

Font size 100 [Working]
var work = new Text("a b c", Font.DefaultFont, 100);
 


Font size 170 [Working but with a dot at character b]
var work = new Text("a b c", Font.DefaultFont, 170);
 


Font size 200 [Not working character b is missing]
var work = new Text("a b c", Font.DefaultFont, 200);
 

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Display errors with text/font
« Reply #1 on: May 10, 2012, 09:44:49 am »
Any message in the standard output (console)?
Laurent Gomila - SFML developer

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Display errors with text/font
« Reply #2 on: May 10, 2012, 09:52:43 am »
Sorry, no message.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Display errors with text/font
« Reply #3 on: May 10, 2012, 10:47:36 am »
What if you use another font than the default one?

Also I see sf::Font is kind of buggy, missing characters, displaying noise on the edges crashing SFML with default font...
Is there no way that would make this all go away?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Display errors with text/font
« Reply #4 on: May 10, 2012, 11:20:08 am »
What if you use another font than the default one?

Also I see sf::Font is kind of buggy, missing characters, displaying noise on the edges crashing SFML with default font...
Is there no way that would make this all go away?

I have tested different kind of fonts (Arial, Comic Sans, Verdana, ...) and all have the problems. For simplicity I use the default font.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Display errors with text/font
« Reply #5 on: May 10, 2012, 06:05:52 pm »
I fixed the bug, thanks for your feedback.
Laurent Gomila - SFML developer

 

anything