Code Monkey home page Code Monkey logo

Comments (9)

EXL avatar EXL commented on June 2, 2024

Can you send some screens with blue fonts?

Thanks for reporting.

from nxengine.

arczi84 avatar arczi84 commented on June 2, 2024

from nxengine.

EXL avatar EXL commented on June 2, 2024

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.

screenshot_20170910_031806

from nxengine.

arczi84 avatar arczi84 commented on June 2, 2024

from nxengine.

EXL avatar EXL commented on June 2, 2024

@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?

screenshot_20170910_083350

screenshot_20170910_083757

from nxengine.

arczi84 avatar arczi84 commented on June 2, 2024

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.

EXL avatar EXL commented on June 2, 2024

Ok then.

from nxengine.

arczi84 avatar arczi84 commented on June 2, 2024

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.

EXL avatar EXL commented on June 2, 2024

@arczi84 Thanks for the published solution.

from nxengine.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.