test: Expand testing of caps for fine strokes
test: Extend testing of joins for fine lines
trace: Improve operand emission

In particular fixing up a couple of corner cases in emitting the right
instructions for scaled-fonts and patterns.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>