Matrix Viewer

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder:

You can then copy/paste the listing and post it in "code" tags.
Bill (Smithville NJ)
Posts: 34
Joined: Sat Jul 22, 2017 7:14 pm

Re: Matrix Viewer

Post by Bill (Smithville NJ) » Sat Feb 29, 2020 12:52 pm

whuyse wrote:
Sat Feb 29, 2020 8:03 am
Upper/lower case is no issue of course, that’s not what I meant by ‘topaligned’. It’s just that a font of n pixels occupies the top n pixels, not the bottom n.
And sub- and superscript is similar: just swap the two adjustments? (The Y-adjustment for a bottom-aligned subscript is the negative of the adjustment for a top-aligned superscript)
On the other hand, AGRAPH’s coordinates refer to the top left of the string to display, and if you’re going to display several lines, lower lines may overwrite what you’ve written before (with bottom-alignment).
So, I still vote for top-alignment ;-)
You're right - not sure why I was so confused on the top-alignment.

I agree - let's go with the top-alignment.

I'll start modifying the "FONTS" program to generate the "UFL",
Top-Aligned, and 4x128. Font 1 will be the smallest with Font 4 being the largest.
At present, I have Font codes for all of Fonts 1and 3, the digits 0-9 for Font 2,
and Font 4 will be left blank for future.

I'll also add a space at the end of each character.

Smithville, NJ

Post Reply