johnwasser:
I think this line is part of your problem:String charFilename = currentChar + ".tmp";Since your printout shows currentChar == 'A' I think you are getting:
String charFilename = &".tmp"+65;Since ".tmp" is only 5 bytes long and you are starting at the 66th byte I expect you will get something unexpected.
You can't concatenate a character and a character string. Try this instead:
String charFilename = currentChar;
charFilename += ".tmp";
I'm not sure that is the only mistake since many of the variable are not declared.
Thank you! i realise strings in arduino and andriod are a little different. and did the concat one at a time. its working now.
String tmpFilename = customTextPath + font;
tmpFilename += "/";
tmpFilename += currentChar;
tmpFilename += ".tmp";
Serial.print(F("tmpFilename: "));Serial.println(tmpFilename);
tmpFilename.toCharArray(infile, 20);
Serial.print("printChar: infile:");Serial.println(infile);