Userlib, set text area font. Without blitzes font system.. need help..

BlitzPlus Forums/BlitzPlus Programming/Userlib, set text area font. Without blitzes font system.. need help..

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've been fiddling with it for a while and am not having any luck either... I did notice a few things, though (which you may want to take with a grain of salt).

1) for dwMask, you may wish to use $ffffffff in order to allow any possible option from the other parameters
2) You'll want to multiple yHeight by 12 (240) because you're specifying the # of twips, (=points/20)
3) You should have 0 for yOffset because you don't want superscript or subscript.
4) for bPitchAdnFamily, "0 Or 4" os the same as "4", and doesn't do what you're expecting, I think. What you want is just plain 0, which indicates FF_DONTCARE and DEFAULT_PITCH.
5) You don't need the additional pokebyte "0" at the end (or any of the others that poke 0, I guess) because the bank is initialized with zeroes.

Beyond that, I kept getting a failure return value...