Improved underline and strike-out drawing.

Modified to avoid anti-aliasing by rounding pixels taking the context scale into account.

related to #351