This program causes QB64 to crash - SOLVED - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: This program causes QB64 to crash - SOLVED (/showthread.php?tid=1582) |
This program causes QB64 to crash - SOLVED - Petr - 03-26-2023 The small screen resolution when using the font causes an error for me - the program has stopped working and will be terminated. I am attaching the font used to test if it will behave the same on your systems. I understand that the screen height is set small, but if you are debugging a large program, this type of error will definitely be very annoying to deal with. Code: (Select All) $NoPrefix Bug occur in QB64PE 32bit 3.5.0 and also in QB64PE 64bit 3.6.0 font is not attached more, because problem solved using PrintString. Thanks to Mnrvovfrc (in next reply.) RE: This program causes QB64 to crash - Petr - 03-26-2023 Notice if we set NewImage's Y axis to 215, the font text will printed and disappear in moment cca (half second). Strange. If we set the Y-axis value to 216, the text will remain on the screen. But the font size is 72 (this value is also returned by the FontHeight function), so the minimum usable screen size should be 73 pixels in height - but if is screen height lower than 215, is screen without text. Code: (Select All) $NoPrefix RE: This program causes QB64 to crash - mnrvovrfc - 03-26-2023 I hope this font is freeware. Please respect copyright. Use "_PRINTSTRING" instead of "PRINT". RE: This program causes QB64 to crash - bplus - 03-26-2023 For me, no crash nor Print just a line drawn. v3.6 on Windows 10-64 laptop |