Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Resizable window with True Type Fonts does not work

This thread is locked; no one can reply to it. rss feed Print
Resizable window with True Type Fonts does not work
jmasterx
Member #11,410
October 2009

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

Elias
Member #358
May 2000

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.

--
"Either help out or stop whining" - Evert

jmasterx
Member #11,410
October 2009

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
Member #261
April 2000
avatar

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

jmasterx
Member #11,410
October 2009

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
Member #261
April 2000
avatar

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
Member #11,410
October 2009

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

Go to: