Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Fonts bug
- - By Carli [de] Date 2009-08-17 19:07
I had a Bug with Freetype.
The Font (StdFont.cpp::CStdFont::AddRenderedChar) pVectorFont is nil, so i think it wasn't loaded.
I made a semi-bugfix which ignores a not-loaded font, but i think there could be a solution to this problem.
Maybe a bug in the loader? Or a missing font file?
Parent - - By Günther [de] Date 2009-08-17 20:24
Why did that happen? Was some freetype return value not checked?
Reply
Parent - - By Carli [de] Date 2009-08-18 09:40
I don't know. I have no logfile, too.
Parent - By Isilkor Date 2009-08-19 14:01
You should have a logfile inside %APPDATA%\OpenClonk.
Reply
Parent - - By Carli [de] Date 2009-08-19 13:37
There was an other Error that something with System.c4g was wrong
Parent - - By Isilkor Date 2009-08-19 14:00
May I direct your attention to a very nice guide on how to report bugs. Especially the following paragraph:

> Give the programmer some credit for basic intelligence: if the program really didn't work at all, they would probably have noticed. Since they haven't noticed, it must be working for them. Therefore, either you are doing something differently from them, or your environment is different from theirs. They need information; providing this information is the purpose of a bug report. More information is almost always better than less.


"Uh there's an error but I don't know what it said" doesn't help much.
Reply
Parent - - By Carli [de] Date 2009-08-19 14:27
I just told, what was written in the error logs and in the chat, i also posted a backtrace, so when you look for an example for "Since they haven't noticed, it must be working for them.", look at Nachtfalter@gwX

I know those bug reporters who say "it don't work anyway but i want to play it"

But maybe there is an uncompleted feature and not a bug?
Parent - - By Isilkor Date 2009-08-19 14:37

> I just told, what was written in the error logs and in the chat


I just searched through the entire source code, and there's no instance of a string saying "something with System.c4g was wrong". Either you're not using OpenClonk, or you've not posted the proper error.
Reply
Parent - - By Carli [de] Date 2009-08-19 15:05
sry, i didn't know the exact wordloud ( ;) ) of the error message, i attached it to the post
Parent - - By Isilkor Date 2009-08-19 16:04
Have you copied the compiled executable to your planet/ subdirectory before running it?
Reply
Parent - By Carli [de] Date 2009-08-19 16:29
no, i said to CMake that it should compile it into the planet/ subdirectory
Parent - By Carli [de] Date 2009-08-21 08:51
That error happens when I build in "DEBUG" mode (CMake), otherwise, i have the other error.
Parent - - By MrBeast [de] Date 2009-08-21 15:02
You have to put the executable file into the "planet"-subfolder.
Reply
Parent - By Carli [de] Date 2009-08-21 16:56
yes, it works when i write a "return" into the font renderer and i can play well.
Up Topic Development / Developer's Corner / Fonts bug

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill