handle end-spanning features (d.end < d.start) and adjust text color switching.