-
Notifications
You must be signed in to change notification settings - Fork 89
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 build and run, however, cannot show font correctly #307
Comments
This is probably an issue with libfreetype on windows. See PistonDevelopers/freetype-sys#37 |
The game "pong-rs" or "rocket" can build and run smoothly in my computer. |
This is also happening to me on Windows 7, 64-bit. I'm using Rust 1.5 stable. |
Hmm this does seem strange, I can't see anything wrong with the example after a quick look - are you able to test it with a different font perhaps? |
I will try and report back. FWIW I'm investigating right now, and freetype-rs's |
I tried with a different font. Same (incorrect) result. Additionally, I have reason to believe the example is not wrong, as it works for me on Linux Mint, and a friend reported that it works for them on Windows 10. |
One final note, I set up linkage to freetype as per these instructions: |
Update: I cannot render an image at all on my system. I presume text rendering does not work because it creates an Image and renders with that. (Attempting to render an image results in the same black box of the same dimensions as the image.) |
Dear Piston,
I am try to run the hello_world program, it can compile and run, however, the word did not show correct since the font not show correctly. It just use a filled rectangle to stands for each character.
Could you help to look into it? And give a hand to me? thanks.
I am use Win 7 64bit, Rust 1.5 nightly.
Btw, I also download other games to test, such as rocket and pong-rs, they can run well with same OS and Rust. Thanks.
Regards,
Scott Huang
The text was updated successfully, but these errors were encountered: