CompuServe Messages

#M2Sprint problem

    08-Mar-91 20:32:35
Sb: #M2Sprint problem
Fm: Harry Callesis 72025,117
To: Avant-Garde
I'm having a problem setting up a window in a custom screen that uses a font other than the system default. I'm using M2Sprint. When the TextAttr pointer in the NewScreen structure is NIL, everything's OK. But when I plug in the address of my TextAttr structure (ROMFont or DiskFont) the drag bar of the window gets drawn about 5 times as thick as it should. It's only "hot" in the area you'd expect, but the bar extends far down into the window. It doesn't matter whether WindowDrag is specified in the WindowFlags{} or not; if it's not specified, it just draws a thick bar with no drag pattern. I'm sure it's not the font, as I've tried both the font I want and the normal topaz.font, and I've also done this exact same process in C successfully with the font I want. The font is being set properly since the screen and window titles are in the specified font. Has this problem been reported before, and is there a fix? If not, and you don't plan on fixing it yourself, please tell me where it is in the library source and I'll fix it myself. I need the capability of specifying a particular font for the custom screen, and I'm _not_ prepared to lay out another hundred dollars or so for another compiler. Thanks … Harry