← Back to context

Comment by avmich

3 years ago

The Simplifier's font is 4x4 including 1 pixel space on horizontal and vertical borders. The 4x6 font does not include that space, so it's an extra difference between them.

I'm not sure whether you're saying that three lines of text in the Simplifier's font would be 15 pixels tall, or that three lines of text in Kujala's or my font would be 21 pixels tall, but I think neither of those is the case; the former would be 12 pixels tall, and the latter 18 pixels.

  • I'm also saying that three letters of text in Simplifier's font would be 12 pixels wide, and in your font they will be 15 pixels wide.

    • You're talking about Kujala's 4×6 font, then, but you have it wrong; three letters of text are 12 pixels wide in it. There's no extra implicit spacing pixel, either horizontally or vertically.

      As you can see from the code in http://canonical.org/~kragen/sw/dofonts-1k.html, moving to the next character position is "x += 4" and moving to the next line is "x = 0\n y += 6".