Author
Topic: Orbiter on Zaurus III (Read 19104 times)

Chris.mI finally got my hybrid/core built and am trying to run the orbiter on the zaurus. I have run into a bit of a problem that I hope is easily fixed. My orbiter loads etc. then segfaults out saying that it can't open the Arial font. Openzaurus doesn't distribute the MS fonts. Is there a way to do this without using the MS truetype fonts?

Hmm... then I guess there is no other solution but to use SDL_ttf with other supported fonts. Maybe you should start with a hello world application with sdl_ttf. Once this is working, you can temporary hardcode the font name and path in Orbiter to test it.

Chris.m,Sorry about the long silence, I got a bit busy at work, I broke my build environment, then I broke my laptop. Long story. Anyway, I finally got the build environment back up and compiled showfont.c and it does work. What's next?

I guess the next step would be to see what's different in Orbiter. Go to src/Orbiter/SDL/OrbiterRenderer_SDL.cpp, RenderText method. You'll see that the path to the font is hardcoded. You can play with it (use same argument path we used for showfont app).

How exactly should I configure this on the core?This is what I am doing:Add OrbiterSelect userselect 640x480 for sizecheck uses wifi connectionfull regen.Is this correct? Is there something i need to do in advanced?

I believe that pluto uses arial and verdana fonts most of the time, so be sure you have these files in "usr/share/fonts/truetype/msttcorefonts". Also confirm with showfont test application. If it doesn't work, you have two solutions: 1) hardcode in RenderText a font which is workingor2) write a "return;" at the beginning of RenderText; this will disable text rendering for now and we'll get back to it once the other things will work.