chiark / gitweb /
Change XQTR_S and YQTR_S to 29
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 19 Jun 2020 21:43:33 +0000 (22:43 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 19 Jun 2020 21:43:33 +0000 (22:43 +0100)
commit1f2ec13d07b87baaa17f0e4431ba2492bf1c9d66
treeea0237c3ee3c49788927d49fb6940ea2c8edce34
parent541c11eddd09831bd735e0b308704055ee7fdaba
Change XQTR_S and YQTR_S to 29

The consequence of this is to narrow the diagonal strokes.  They go
from being 6% wider than horizontal and vertical strokes to being 0.4%
wider.  I like the consistency, but it also has a practical advantage:
at round pixel sizes the daigonal edges no longer pass through pixel
centres.  This means that we're no longer at the mercy of rasterizer
tie-breaking rules so (for instance) Ghostscripts rasterizations are
symmetric now.

Since the shape of diagonal lines on a real SAA5050 is determined by
both edges of a clock whose duty cycle is only specified as being
between 0.4 and 0.6, I claim this is still within the tolerances of
the original.
bedstead.c