Possible bug: Word-wrap oddity
#9
Fix for LOCATE is rather simple to find...  open libqb.cpp and look for the label    width8050switch_done:    in  qbg_sub_locate.

Change the next few lines to the following:
Code: (Select All)
    if (passed&2){
        if (column<0) goto error;
        if (column>w - 1) goto error;
    }


Save, use the batch file and purge libqb, and you can now locate from 0 to _width -1, as you should be able to, with non-monospaced fonts.



The fix for PRINT, to adjust it back one pixel naturally by default with non-monospaced fonts, is eluding me at the moment, however.
Reply


Messages In This Thread
Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 06:41 AM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 08:38 AM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 09:50 AM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 10:35 AM
RE: Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 04:35 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 05:06 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 05:50 PM
RE: Possible bug: Word-wrap oddity - by hanness - 05-04-2022, 06:15 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 06:18 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 06:29 PM
RE: Possible bug: Word-wrap oddity - by SMcNeill - 05-04-2022, 06:50 PM
RE: Possible bug: Word-wrap oddity - by Pete - 05-04-2022, 09:57 PM



Users browsing this thread: 3 Guest(s)