Main Site Documentation

Font definition file


Could someone please share a generic font definition file (.fntdef) that is working for them in TinyCLR. I need to make sure I am configuring some of the settings correctly (and in the right format).

Thanks !


Save following two lines in text file with name Arial.fntdef. Then run “GHIElectronics.TinyCLR.FontConverter.exe Arial.fntdef Arial.tcfnt” and I think it should work. You’ll have to change name of FontConverter .exe file to match version you are using. Good luck!

SelectFont “HE:24,FN:Arial”
ImportRange 32 122


Sorry, but you may have to retype the quotation marks in the .fntdef file. It seems that the forum changes the regular quotation marks to left and right quotes, so a simple cut and paste may not work.


Thank you very much. I got it working. I was not sure if all the font characteristics needed to be defined.


This is also handy for now