no, it's quite other way round.
a tiny line Sans_10 in the middle,
and a big line tiny_6 at the bottom.
but strangely I saw it different once  when I had tried the "download version" intermediately.
But after having erased all files on the flash and started the import version anew, again the same *wrong* picture (just now in the moment)
again the code to be sure:
Code: Select all
string __gFont;
inline void SetFont(string name) { __gFont = name; }
unsigned int LoadFont( byte &arr[], string filename ){
   byte handle;
   unsigned int size = ArrayLen( arr );
   unsigned int result = CreateFileLinear( __gFont, size, handle );
   if( result == LDR_SUCCESS ){
      result = Write( handle, arr );
      CloseFile( handle );
   }
   ArrayInit( arr, 0, 0 );
   return result;
}
unsigned int UnloadFont( string filename ){
  return DeleteFile( filename );
}
#import "Tiny_6.ric" fontarr1
#import "Sans_10.ric" fontarr2
task main() {
  TextOut(0,56,"font test");                              // ok !
  SetFont("Sans_10.ric");
  LoadFont( fontarr1,  __gFont );
  FontTextOut(0,25,__gFont, "text string "+ __gFont);  //  
  SetFont("tiny_6.ric");
  LoadFont(  fontarr2,  __gFont );
  FontTextOut(0, 0,__gFont, "text string "+ __gFont);  // 
  while(1);
}
 
