tellabs.canada@canremote.uucp (TELLABS CANADA) (02/22/90)
I'm sure a few have caught the error in my posting some days ago regarding the use of GDOS fonts. In my original posting, I'd stated that the function used to select a font, vst_font(handle,font), required 'font' to be the Nth font loaded by vst_load_fonts. The function vst_font(handle,font), will load the font whose unique font id is 'font'. The function returns the actual font set as a result of the command (ie. its font id). One thing I neglected to mention in my earlier posting, if you open more than one virtual workstation a program - if for instance, you open up a virtual workstation for every window in your application, then you must call vst_load_fonts(handle,0) for each one in order to access your GDOS fonts when drawing in that virtual workstation. If the fonts are already loaded for another virtual workstation, the function will not load them again. The purpose of the call seems to be a matter of GEM housekeeping. Regards, tellabs.canada@canremote.UUCP (Roman Onyschuk) ----- #include<disclaimer.h> The views expressed above, are my own.. Tellabs doesn't even know I hang out in this newsgroup :-) --- * Via ProDoor 3.1R