Comments (9)
Can you send some screens with blue fonts?
Thanks for reporting.
from nxengine.
from nxengine.
I noticed that on GCC 7.2.0 the project is not build at all
I slightly fixed the code: 7ce8b06
Please try, maybe now the problem is gone.
from nxengine.
from nxengine.
@arczi84 I tested now on GCC 3.4.6 (i386 arch, Debian etch) and also on GCC 3.4.3 (armv6 arch, MotoMAGX linux) and GCC 3.3.6 (armv5 arch, MotoEZX linux) long time ago...
I didn't have any problems with blue fonts or crashes, all OK in menus and ingame dialogues
Which CPU arch, OS and environment you use? Maybe GCC flag -funsigned-char
can help you?
Hmm... can there be some problems with SDL_ttf or Freetype?
from nxengine.
Hello,
I have managed to compile fully working game with proper fonts using gcc 6.3 and O2 flag. I haven't dig more about the problem described.
from nxengine.
Ok then.
from nxengine.
Hello, problem is solved now with help of a much better coder than me :)
char utf8_str[2];
changed to
char utf8_str[2*4];
That's it!
from nxengine.
@arczi84 Thanks for the published solution.
from nxengine.
Related Issues (7)
- Java Port HOT 17
- Cannot shoot up while running to the right HOT 5
- The map is available without the Map System HOT 1
- build error: "error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ [-Wnarrowing]" HOT 4
- sdllib not found,could someone help me? HOT 19
- Cave Story DE v1.00 [Reality Dreamers, 2018] support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nxengine.