Resizable window with True Type Fonts does not work
jmasterx

I made the ex_ttf have resizable flag. It looks fine until you resize it, then it just kinda stops rendering.

Elias

Which Allegro version and which driver? It works fine here in Linux as well as in Wine (D3D driver). Trent fixed a problem related to it in Windows recently so maybe it's fixed in SVN.

jmasterx

I'm at svn 12893 (the one right after the directX resizing issue fix), the latest version did not compile with 8 errors in the primitives. I tried both DX and OpenGL.

Trent Gamblin

It works "fine" here, though the screen appears to be stretched and I'm not sure why. Is that expected?

jmasterx

Are you acknowledging the resize? If it appears stretched then you are not truly resizing...

*The mouse fix works great by the way thanks!

However, prim_opengl.c failed to compile so I replaced with old one from 12893

Trent Gamblin

Ya, I'm not sure what's wrong with this. I spent some time investigating and it seems that if I draw primitives or truetype fonts, then the window will not resize properly in d3d, but it does work fine in opengl. I'll try and look into it again soon, maybe later today or tomorrow.

jmasterx

Yes you are correct, it only behaves incorrectly in DirectX Mode. Thanks for looking into the issue, hopefully a solution can be found :-)

Thread #603075. Printed from Allegro.cc