Font_ScanString, icon widths not sticking
From
Christopher Self@21:1/5 to
All on Sat Jul 2 15:06:58 2022
Can someone tell what's wrong with this, please:
bbox!0 = 0
bbox!4 = 0
bbox!8 = 0
bbox!12 = 0
bbox!16 = -1
SYS "Font_ScanString", 0, text$, &40020, 3000*400, 2500*400, bbox
=bbox!28 / 400
Or this:
SYS "Font_ScanString", 0, text$, 0, 2500*400, 2000*400 TO ,,,width%
=width% / 400
The icon widths are correct at first, with either method, but then break
down and are shortened, seemingly randomly, when the icons are moved.
--
Christopher Self
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)