Eliminate special case for closed paths. Just draw caps at both ends and
accept that the resulting path isn't minimal in all cases. This
eliminates the weird results from said attempted minimal path with
large pens and small curves. It also eliminated a lot of extra code
from this function.
Fix font baseline value (should be 9). Take pen size into account when
computing positions so that glyphs rest on the baseline instead of
painting on top of it.
Show baseline in huge text sample
4 files changed