How to use 16x16 custom fonts with libnds?

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

Aug 18, 2012
  1. frezziii
    OP

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    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

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    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

    Member Technicmaster0 GBAtemp Addict

    Joined:
    Oct 22, 2011
    Messages:
    2,865
    Country:
    Germany
    I asked Foxi4 a bit time ago the same question and here is the answer:

     
  4. frezziii
    OP

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    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

    Member Technicmaster0 GBAtemp Addict

    Joined:
    Oct 22, 2011
    Messages:
    2,865
    Country:
    Germany
    You can try it with C:\devkitPro\examples\nds\input\keyboard (I suppose you installed devkit pro in C:\)
     
  6. frezziii
    OP

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    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 )=
     

Share This Page