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

Author Topic: GWEN Text gets cut off  (Read 7301 times)

0 Members and 3 Guests are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: GWEN Text gets cut off
« Reply #15 on: November 03, 2014, 07:33:46 pm »
Who are you talking to?
I am always using rather late SFML builds of my own and I compiled latest one just before working this out to be 100% sure it's not an old SFML bug.
« Last Edit: November 03, 2014, 07:36:05 pm by FRex »
Back to C++ gamedev with SFML in May 2023

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: GWEN Text gets cut off
« Reply #16 on: November 03, 2014, 07:40:41 pm »
Not to you obviously...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

NaCl

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: GWEN Text gets cut off
« Reply #17 on: November 03, 2014, 07:44:20 pm »

I tried this before I posted here. One issue at GWENs repo has some other functions. None works.
What SFML version did you use, FRex? He talked to me.
Okay, then I'll compile sfml master, need to install libudev-dev first at will try it with that.
So GWEN does cut the rendering using getLocalBounds and SFML internally does not? Why does it work with my depreciated version without GWEN?

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: GWEN Text gets cut off
« Reply #18 on: November 03, 2014, 07:52:40 pm »
Quote
Not to you obviously...
How should I know, I'm a programmer, not a clairvoyant. :P
I admit, the line between the two is often blurry.

Quote
So GWEN does cut the rendering using getLocalBounds and SFML internally does not? Why does it work with my depreciated version without GWEN?
GWEN uses GL_SCISSOR_TEST (https://www.opengl.org/sdk/docs/man2/xhtml/glScissor.xml) to limit rendering of stuff to the right areas (that for text it calculates wrong...), SFML never does anything like that.
« Last Edit: November 03, 2014, 07:54:39 pm by FRex »
Back to C++ gamedev with SFML in May 2023

NaCl

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: GWEN Text gets cut off
« Reply #19 on: November 03, 2014, 11:06:01 pm »
Thank you, I switched to current commit, sadly, as I'm a friend of packages lol, but everything is fine now.