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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - DeadLeaves

Pages: [1]
1
Graphics / sf::Text removes spaces from GetGlobalBounds, SFML 2.0
« on: February 29, 2012, 11:10:11 pm »
When calling sf::Text.GetGlobalBounds().width It will not count in starting or ending white spaces. Is this intentional? If so, is there a way to get the width with the added white space.

In this test, they all print the same.
Code: [Select]

sf::Text test1(" test");
sf::Text test2("test ");
sf::Text test3(" test ");
sf::Text test4("test");
printf("%f\n",test1.GetGlobalBounds().Width);
printf("%f\n",test2.GetGlobalBounds().Width);
printf("%f\n",test3.GetGlobalBounds().Width);
printf("%f\n",test4.GetGlobalBounds().Width);


Tested with SFML 2.0 Build 204

2
General / Freeze on startup, now only on some computers
« on: December 06, 2010, 10:36:19 pm »
I know I recently made a thread about the same issue, and soon after posted that I found the solution, however that didn't prove to be true, I could've edited the last topic but as I wrote that I found the problem I though no one would read it again.

When I tried to start my SFML applications it only displayed a cmd window and then nothing more happened, I fixed that on MY development computer by changing to static libraries, however when I tried the application on my laptop and on a friends computer I don't get the same result. On some of my friends computers it works just as it should, however on some other friends they get the same bug that I got before. Just freeze on the cmd window.

I tried sending the people who had problems with the static versions a rebuilt version of the exe but with dynamic libraries(ofcourse i also passed them the needed dlls) However to no avail, they still cannot run my application.

So I'm wondering does anyone else know why this is happening?

I also get this warning when using static library, however it still compiles as it should:
Code: [Select]
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library

3
General / Freeze on startup
« on: December 05, 2010, 09:46:20 pm »
Hello, I have been using SFML for a few weeks now without any problems. But today I updated my graphics drivers and now all SFML applications I've made freezes on startup. The console window pops up and then it freezes.

I am using the precompiled version of SFML 1.6 for Visual Studio 2008
I have the graphics card: ATI mobility 5650m.
I updated to graphics driver version: 10.11.

Does anyone know what the problem might be?

EDIT: Solved the problem, changed to static instead of dynamic libraries

Pages: [1]
anything