Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load fonts with SFML Renderer #32

Open
GoogleCodeExporter opened this issue Aug 21, 2015 · 0 comments
Open

Can't load fonts with SFML Renderer #32

GoogleCodeExporter opened this issue Aug 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Develop GUI with SFML renderer.
2. Load a custom Font into the renderer.


What is the expected output? What do you see instead?
The font isn't load.


What version of the product are you using? On what operating system?
Gwen.net Revision 144 (the last) with SFML 2.0, .Net 4.5


Please provide any additional information below.
The problem is at the line 114 of the SFML renderer, RenderData are not set. We 
can see that in the catch block the operation is made correctly but not in the 
try one :)

Just add after the line 114 :
sfFont.GetTexture((uint)font.Size).Smooth = font.Smooth;
font.RendererData = sfFont;

It will works :)

Thanks for resolve this problem.




Original issue reported on code.google.com by pontorea...@gmail.com on 25 Aug 2013 at 3:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant