I want to create a custom font where each character is exactly 6 pixels wide, 6 pixels tall, with zero pixels of gap between adjacent characters, both horizontally and vertically.
I have successfully accomplished most of this. The characters are the correct size, with zero horizontal gap between them. However, when I draw a string with a newline, there are 3 blank rows of pixels between the two lines of text.
How can I modify the font to eliminate this three pixel gap?
Here is my code with the font I'm using: garmin-sandbox/GfxPerfSandbox/resources/fonts/gfx_font.fnt at main · cspotcode/garmin-sandbox (github.com)
The broader context: I want to cover the screen in a grid of tiles using a single draw call. The tiles are described by a ByteArray which I convert to a string, then draw the string. The ByteArray contains newline characters (number 10) between rows of tiles.
If I can eliminate this 3 pixel gap, then I can cover the screen in tiles.
Related to Techniques for faster pixel-level drawing? - Discussion - Connect IQ - Garmin Forums