![]() |
why am I seeing the spaces? - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: why am I seeing the spaces? (/showthread.php?tid=2020) Pages:
1
2
|
why am I seeing the spaces? - James D Jarvis - 09-21-2023 Why am I seeing the colored spaces in this program? Shouldn't _printmode _keepbackground be prohibiting this? ![]() Code: (Select All) Screen _NewImage(512, 384, 32) RE: why am I seeing the spaces? - SMcNeill - 09-21-2023 Looks to me like it's a glitch in _PRINTMODE which isn't keeping the background with the Comma spacing. Try this instead: Code: (Select All) Screen _NewImage(512, 384, 32) RE: why am I seeing the spaces? - bplus - 09-21-2023 It's not printing when it tabs to column for the comma so the red background is coming up? Definitely a weird glitch. Tab() works and I bet _PrintString will too. RE: why am I seeing the spaces? - SMcNeill - 09-21-2023 We're digging into it. At the moment, it appears that TAB() doesn't honor _KEEPBACKGROUND at all. At first glance, this looks like a simple issue to patch quickly and without any major headache. ![]() RE: why am I seeing the spaces? - bplus - 09-21-2023 (09-21-2023, 01:27 AM)SMcNeill Wrote: We're digging into it. At the moment, it appears that TAB() doesn't honor _KEEPBACKGROUND at all. At first glance, this looks like a simple issue to patch quickly and without any major headache. Ha I just tested tab() do you mean comma? RE: why am I seeing the spaces? - SMcNeill - 09-21-2023 (09-21-2023, 01:29 AM)bplus Wrote:(09-21-2023, 01:27 AM)SMcNeill Wrote: We're digging into it. At the moment, it appears that TAB() doesn't honor _KEEPBACKGROUND at all. At first glance, this looks like a simple issue to patch quickly and without any major headache. Comma *is* tab(). TAB is func_tab(). Two different beasts in the c-side of things. It's the tab() in libqb.cpp that's glitching, not func_tab(). ![]() RE: why am I seeing the spaces? - SMcNeill - 09-21-2023 Looks like the fix for this is all worked up and is just waiting for review and approval. It should be in the repo by the weekend at the latest, I'd imagine. ![]() RE: why am I seeing the spaces? - mnrvovrfc - 09-21-2023 @James D Jarvis great find! The whole screen is cleared to black before `INPUT`. I tried this on Linux. Put in `CLS` just after `_NEWIMAGE` to clear the screen to the red color, then `_PRINTMODE` line. I didn't have "Comic" font available so I used "DejaVuSans" normal in its place. But it should make no difference with any TTF font. RE: why am I seeing the spaces? - TerryRitchie - 09-21-2023 (09-21-2023, 02:43 AM)SMcNeill Wrote: Looks like the fix for this is all worked up and is just waiting for review and approval. It should be in the repo by the weekend at the latest, I'd imagine.Wow, that was fast. This is why I recommend the PE version of QB64 ... active development. RE: why am I seeing the spaces? - SMcNeill - 09-21-2023 (09-21-2023, 03:14 AM)TerryRitchie Wrote:(09-21-2023, 02:43 AM)SMcNeill Wrote: Looks like the fix for this is all worked up and is just waiting for review and approval. It should be in the repo by the weekend at the latest, I'd imagine.Wow, that was fast. This is why I recommend the PE version of QB64 ... active development. We try. Not all things are as quick and easy to fix, but when you guys point stuff out to us, we do try to look into it ASAP. ![]() |