d2d1: Force appropriate antialiasing mode when drawing text elements using 2D primitives.