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.


Messages - codemonkey

Pages: [1]
1
Graphics / [SFML2] Bounding boxes around sf::Text characters
« on: September 27, 2011, 02:46:36 pm »
Unfortunaly i'm not doing any calls directly to OpenGL, and as far as i can see.

I'm using the default settings context and this both happens in windowed and fullscreen mode.

2
Graphics / [SFML2] Bounding boxes around sf::Text characters
« on: September 26, 2011, 03:08:54 pm »
I'm having a weird issue after upgrading to SFML 2 on OS X (Lion - 10.7.1), i have tried a lot of different things, including trying other fonts (and other font formats), i also  just updated my SFML build to latest commit (0fd992d56e23859f25057ea2878c7e19eced294a) from git.

But i still keep randomly getting bounding boxes around characters:


I'm doing nothing special to draw the text in this example:
Code: [Select]
sf::Text LoadingText;
    LoadingText.SetFont(DeliciousFont);
    LoadingText.SetColor(greenColor);
    LoadingText.SetString("Retreiving information from jukebox...");
    LoadingText.SetCharacterSize(80.0f);
    LoadingText.SetPosition(App.GetWidth() / 2 - LoadingText.GetRect().Width / 2, App.GetHeight() / 2 - LoadingText.GetRect().Height / 2);


Has anyone experienced similar issues? I'm thinking of trying to build the project on windows now, to see if it makes a difference, but i really want it to work on OS X to.

Pages: [1]