Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: bsl on August 18, 2011, 01:41:33 am

Title: Accessing the Nspire Fonts
Post by: bsl on August 18, 2011, 01:41:33 am
Up till now, to print text on the Nspire screen required you to bring
your own Font table into your code. This is not always convenient.
The text is small, but a simple OS call: disp_str(char*, int *x, int y) prints a string where you want it
without bringing in extra screen routines and a Font table.
Maybe this can be used in the Ndless console program ? :)

Here is a simple example I found for Ndless 1.7 and  2.0.1.60

 
Title: Re: Accessing the Nspire Fonts
Post by: MasterGeek on April 15, 2012, 01:36:12 pm
Will this work for Ndless3 and the Ti-Nspire CX?
Title: Re: Accessing the Nspire Fonts
Post by: DJ Omnimaga on April 15, 2012, 01:50:05 pm
Assuming it was not updated for it (can Bsl confirm?) then nope, as the addresses of stuff (I believe it was the memory addresses) have changed over other OS versions.
Title: Re: Accessing the Nspire Fonts
Post by: bsl on April 16, 2012, 07:58:28 pm
Ndless3.1 :
{0x100b30c4, 0x100b3384, 0x100b275C , 0x100b2a44 }
Title: Re: Accessing the Nspire Fonts
Post by: apcalc on April 29, 2012, 07:38:59 pm
Very nice!  Great work bsl! :)
Title: Re: Accessing the Nspire Fonts
Post by: bsl on December 27, 2013, 08:38:15 pm
Finally, the latest version of Ndless supports native fonts.
Not only fonts, but other graphics too.
Download the latest version for more info.
Here is a shot of the ngc demo