Hi Guys,
I am new to using 4D displays, I hope I can get some guidance with a project.
Here what I want to do:
I want to bring in a few 3rd party fonts into my Gen4-uLCD-24PT display. I would like to store these fonts on a FAT16 partition, as I am using that to store some backgrounds(which I did get to work) on the uSD card. I am using a ZX-24 micro controller and sending serial commands to the display.
Here’s what I have tried:
I couldn’t find a font tool on the 4D workshop application, and but found FontTool ver 0.3.02. I used that to convert to a .GCI file. I then put that file on to a uSD card. I read that I would also need a .dat file. I used the the 4D workshop, Visi app, and created a “dummy” .dat file. That also was copied to the uSD card. This card was then placed into the display.
I used the “Load Image Control” serial command, and loaded the two files from the uSD card. I did get a handle response, and used that number in the “Set Font command”. But when I try to print a character or string, I get one of the default fonts.
I’m not sure what I am doing wrong. Any help would be greatly appreciated. Thanks!
I am new to using 4D displays, I hope I can get some guidance with a project.
Here what I want to do:
I want to bring in a few 3rd party fonts into my Gen4-uLCD-24PT display. I would like to store these fonts on a FAT16 partition, as I am using that to store some backgrounds(which I did get to work) on the uSD card. I am using a ZX-24 micro controller and sending serial commands to the display.
Here’s what I have tried:
I couldn’t find a font tool on the 4D workshop application, and but found FontTool ver 0.3.02. I used that to convert to a .GCI file. I then put that file on to a uSD card. I read that I would also need a .dat file. I used the the 4D workshop, Visi app, and created a “dummy” .dat file. That also was copied to the uSD card. This card was then placed into the display.
I used the “Load Image Control” serial command, and loaded the two files from the uSD card. I did get a handle response, and used that number in the “Set Font command”. But when I try to print a character or string, I get one of the default fonts.
I’m not sure what I am doing wrong. Any help would be greatly appreciated. Thanks!
Comment