* Fix bug in calculation of downstream text distance when aligned: right
* After having affinity explained to me, match getOffset and tests to
expected behavior
* Clean up test formatting and fix analyze errors
* Improve test comments and reorganize a bit
* Specify logical pixels