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 - Zarickan

Pages: [1]
1
Graphics / SFML.Net Fonts sometimes not displaying properly
« on: July 16, 2016, 08:06:33 pm »
Sometimes when I load my font (from memory or from a file) not all characters are drawn properly. some of them will be entirely missing (not drawn at all) and other times weird looking and/or blurred out, this seems to happen randomly, with either of the two ways of loading fonts.

How do I solve this, and what causes it?


2
As the title says, I sometimes (not consistently) get a AccessViolationException when attempting to use .GetGlobalBounds() on an SFML text object from within my drawing loop.

I do not know how to reproduce this, and it happens randomly when I start my program. I have tried limiting my application to only using one thread for both drawing and updating as opposed to two or three threads but it did not help. Initializing the font object from a byte array before using it in the constructor of a text object reduced the issue, but did not resolve it, please help!



Stacktrace:
(click to show/hide)

Pages: [1]
anything