How to use 16x16 custom fonts with libnds?

Discussion in 'NDS - Emulation and Homebrew' started by frezziii, Aug 18, 2012.

  1. frezziii
    OP

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    In Palib it's pretty simple too use 16x16 customs fonts but how does it work with libnds? And is there a text-font-maker?

    Sincere regards, frezziii
     
  2. frezziii
    OP

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    Maybe I can use NFlib....it's support 8x16 fonts and eglomer from the NF-forum has programed a support for 16bit-fonts. But how can I make a font? Maybe with dsFont? But how can define which tile belongs to which letter?

    I need a font for these letters:

    1234567890ß'qwertzuiopüasdfghjklöäyxcvbnm,.-áàâçéèêëíìîïñÿóòôúùûæœ!¡?¿°&/()=+*QWERTZUIOPÜASDFGHJKLÖÄYXCVBNM;:_ÁÀÂÇÉÈÊËÍÌÎÏÑŸÓÒÔÚÙÛÆŒ
     
  3. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,225
    665
    Oct 22, 2011
    Gambia, The
    I asked Foxi4 a bit time ago the same question and here is the answer:

     
  4. frezziii
    OP

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    I have already download the last version of PAlib. In the directory "tools" I found dsFont and it worked fine. And I also figured out how to export with GRIT. But I need a code example for ndslib/NFlib....
     
  5. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,225
    665
    Oct 22, 2011
    Gambia, The
    You can try it with C:\devkitPro\examples\nds\input\keyboard (I suppose you installed devkit pro in C:\)
     
  6. frezziii
    OP

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    That doesn't declare any letters to specific tiles of a custom font....I give up! I use PAlib....I've already experimented with PAlib and it worked fine. I think I use PAlib for graphic stuff and libnds for all other things :P What a shame that PAlib was given up )=