My font is set to be 21 pixels wide. My Space character is set to be 21 pixels wide too. Please see my picture (attached). There is a space character between the "60.0" and "PPM", but as you can see the space is not very well pronounced. It seems that I can't control that spacing without adding in another character (which I cannot do for reasons too complicated to explain here).
Attached is the font resource that I generated, as well as a picture showing my LCD with the problem on-screen.
To re-create:
- Choose to create a font from an existing system font; "Impact".
Choose "20" as the size.
Elect to let the software remove common empty columns and rows.
As you can see, the space character is not nearly as wide as one of the other characters like it should be. Please ignore the name 20x25. That's just the name of the font used in my program, and I didn't want to change it just yet. Does the font name I give it affect anything? My guess is "no", so long as I'm consistent.
Can someone please tell me how I can make my "space" character print out like the way I designed it in Font Creator: 21 pixels wide by 28 pixels tall?
This is the code used to write that data:
Code: Select all
T6963C_Set_Font_Adv(&Impact20x25, T6963C_PIXEL, _T6963C_HORIZONTAL); // large Impact font.
T6963C_waitReady();
T6963C_Write_Text_Adv(Msg, Column, Row); // Msg is an array with my text message.