custom fonts (tiny, sans, serife, fixed) in different sizes

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

custom fonts (tiny, sans, serife, fixed) in different sizes

Post by HaWe »

another content from the annals of nxtasy:

user defined ric fonts.

test program:

Code: Select all

string filename;
#download "Tiny_7.ric"
#download "Sans_8.ric"
#download "Serife_8.ric"
#download "Fixed_8.ric"
task main(){
  filename ="Tiny_7.ric";
  FontTextOut(0, 50, filename, filename+"-ABCabc123.45");
  filename ="Sans_8.ric";
  FontTextOut(0, 34, filename, filename+"-ABCabc123.45");
  filename ="Serife_8.ric";
  FontTextOut(0, 20, filename, filename+"-ABCabc123.45");
  filename ="Fixed_8.ric";
  FontTextOut(0, 0, filename, filename+"-ABCabc123.45");
  while (true);
}
download files:
Attachments
RICFont.zip
RicFont.zip (font creation tool)
(366 KiB) Downloaded 383 times
Fonts.zip
Fonts.zip (custom fonts)
(43.66 KiB) Downloaded 357 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests