behdad / glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language.
Other
674 stars 76 forks source link

Retina displays not supported #7

Open behdad opened 9 years ago

behdad commented 9 years ago

High-DIP (i.e. Macbook Retina Pro) still draws at standard resolution.

felipecrv commented 8 years ago

Why is that the case?

alelepd commented 6 years ago

Hi! Is there any way to make it run in Retina?

chergert commented 2 years ago

It looks like the GLUT framework shipped with macOS doesn't have support for HiDPI, so to get something like that working you'd have to find a way to get the native NSWindow and then the NSOpenGLView to toggle on the desire for HiDPI. Additionally, something would need to call the reshape func with the scale factor applied.