07-26-2024, 02:37 AM
Hi Tony,
I put together some quick code to see what you are seeing. QB64 was made to be QuickBASIC compatible, so the fonts seen with WIDTH 40, 43 keep that legacy support. The fonts are different when using _NEWIMAGE, so I see the problem. _RESIZE works like a charm, manually, but not automatically. Since you want your app to work in Windows and Linux, you'll want to avoid WINAPI calls to resize the window. That pretty much leaves ditching the default fonts, and loading custom fonts. I'm not sure you will get the desired retro look with that approach.
I can't speak for the development team as to whether or not automatic resizing with the _RESIZE keyword would be a simple addition to an upcoming release. This is the first time, since it was created, such a related function has been desired.
Pete
I put together some quick code to see what you are seeing. QB64 was made to be QuickBASIC compatible, so the fonts seen with WIDTH 40, 43 keep that legacy support. The fonts are different when using _NEWIMAGE, so I see the problem. _RESIZE works like a charm, manually, but not automatically. Since you want your app to work in Windows and Linux, you'll want to avoid WINAPI calls to resize the window. That pretty much leaves ditching the default fonts, and loading custom fonts. I'm not sure you will get the desired retro look with that approach.
I can't speak for the development team as to whether or not automatic resizing with the _RESIZE keyword would be a simple addition to an upcoming release. This is the first time, since it was created, such a related function has been desired.
Pete