Visually, straight diagonal lines are rendered weird, like pixelated... why

image

Question

Why is this happening and how to fix it?

Antialiasing is probably what you’re looking for.