gfx_text icon indicating copy to clipboard operation
gfx_text copied to clipboard

Retina screen support

Open bvssvni opened this issue 10 years ago • 3 comments

On retina screens, the frame buffer is twice the size of the internal window size in each direction. When one renders text, one might want to compensate for this. In piston-graphics this is done through the viewport library https://github.com/pistondevelopers/viewport

bvssvni avatar May 12 '15 14:05 bvssvni

We might want to compute a column major transform matrix in the viewport library, since this is common for 3D.

bvssvni avatar May 12 '15 14:05 bvssvni

Don't forget that Windows has arbitrary DPI scaling.

retep998 avatar May 12 '15 15:05 retep998

The viewport library assumes arbitrary draw width/height so it should be fine.

bvssvni avatar May 12 '15 17:05 bvssvni