chiark / gitweb /
Process pixels in raster order
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 17 Nov 2024 10:11:23 +0000 (10:11 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 17 Nov 2024 10:11:23 +0000 (10:11 +0000)
commit15b8a9a5842a59cd4c2433e5155061cb486d94d4
tree04260c31dec6ed9c946a90ae0c7b769f793a32d3
parent86f186342aee1d5b43d20ec9a91829bc7f9a21e5
Process pixels in raster order

If we're imitating a CRT character generator, obviously we should
process pixels line-by-line, not column-by-column.  But that means
writing "for (y ...)" before "for (x ...)" which isn't the instinctive
way I did it.

So now that's corrected and the Y loops are outside the X loops, which
should make any debugging output easier to follow.  This has been
confirmed not to change FreeType rendering at 10.5 ppem.
bedstead.c