I’m creating a pixel-perfect pixel art application where I would like the window to be resizeable to any resolution. I have the canvas scaling set to ‘Constant Pixel Size’ so, for example, the pixel art text is always 1 pixel thick regardless of window size. I also enabled ‘Pixel Perfect’ on the canvas. The issue is that when either the width or height of the resolution is odd, the TextMesh Pro text is distorted. However, the old Unity text component renders completely fine:
Top: old Unity text
Bottom: TextMesh Pro
(This is zoomed in so each pixel in the text is actually one pixel on the display)
When the width and height are even, the TextMesh Pro displays correctly.
I don’t know why it’s distorting, because in Scene View, I can see the TextMesh Pro is perfectly aligned to the pixel grid:
Is there any way to fix this so I can use TextMesh Pro?


