You are not logged in.

#1 2010-05-13 18:30:46

bobby
Member

[RESOLVED] simple printf

Hi all,

i want to use the simple printf C fonction but it seem not possible...

with only the libogc, it's works fine but when i include GGRLIB, nothing work..

Maybe the fonction GRRLIB-Printf can show the standart font of the wii ? but i don't find how...

thx for all and sorry for my english...french people just be good for food smile

Last edited by bobby (2010-05-13 18:31:27)

Offline

 

#2 2010-05-13 18:52:58

Crayon
Bad Mother Fucker

Re: [RESOLVED] simple printf

Using standard font does not work with GRRLIB. You need to include a font file.

Offline

 

#3 2010-05-13 19:07:12

bobby
Member

Re: [RESOLVED] simple printf

Crayon wrote:

You need to include a font file.

and use GRRLIB-PrintBMF ?

Offline

 

#4 2010-05-13 19:18:01

Crayon
Bad Mother Fucker

Re: [RESOLVED] simple printf

To print text on the screen you have 3 choices:
* Use an image file (png, jpeg, bmp) with GRRLIB_Printf
* Use a BMF file with GRRLIB_PrintBMF
* And if you are using the svn version you could use a TTF file with GRRLIB_PrintTTF

Offline

 

#5 2010-05-13 19:19:47

bobby
Member

Re: [RESOLVED] simple printf

whaaou thx !!! it's clear..
i try it.

merci Crayon. big_smile

Offline

 

#6 2010-05-13 19:25:58

Crayon
Bad Mother Fucker

Re: [RESOLVED] simple printf

Look at the basic_drawing exemple, GRRLIB_Printf and GRRLIB_PrintBMF are used: http://code.google.com/p/grrlib/source/ … rce/main.c

If you need it, BMF files could be downloaded from http://bmf.wz.cz

Offline

 

#7 2010-05-17 20:32:33

bobby
Member

Re: [RESOLVED] simple printf

Hello,

finally i use GRRLIB_PrintBMF, it work fine !

Thx Crayon !
the topic can be close....see you soon for the next one big_smile

Offline

 

Board footer

Powered by FluxBB