[comp.sys.atari.st] Refreshing window text rapidly

news@imagine.PAWL.RPI.EDU (news) (06/20/88)

[]
 I'm working on a program that needs to manage several windows, with the
 interiors filled with text.  However, the text has to be in the user's
 choice of point sizes (from the system fonts), since small letters are
 an option I need to include in this program.  (limited screen space...)
 Now, the problem is, if I draw this text by setting the size with vst_height
 and then draw the text with v_gtext, it takes too long to refresh the windows.
 These windows need to be updated quickly.  I need a way faster than v_gtext
 to display text in my choice of point sizes (6 to 16)... I wouldn't mind
 being limited to positioning the characters on an 80x24 grid or anything,
 but I do need to be able to make then smaller.  (Cconws() always seems to
 make 16-point ones...)
From: kibo@pawl5.pawl.rpi.edu (James Parry)
Path: pawl5.pawl.rpi.edu!kibo

 Does anyone know a way to draw text faster than v_gtext can?

 
 -----------
 Kibo (Jim Parry)
 userfe0n%mts.rpi.edu@itsgw.rpi.edu
 userfe0n@rpitsmts.bitnet
 or use above address from headers
 or snail-mail me at : 138 Birch Lane, Scotia, NY 12302 USA
[]

rosenkra@Alliant.COM (Bill Rosenkranz) (06/22/88)

----
In article <935@imagine.PAWL.RPI.EDU> kibo () writes:
-> I need a way faster than v_gtext
-> to display text in my choice of point sizes (6 to 16)... I wouldn't mind
-> being limited to positioning the characters on an 80x24 grid or anything,
-> but I do need to be able to make then smaller.  (Cconws() always seems to
-> make 16-point ones...)

you can actually replace the system fonts with your own without too much
difficulty. the pointers to the fonts can be accessed via line-A and you
can easily switch these pointers on the fly, perhaps even controlled by
your own control sequence (maybe like nroff "." commands if you like).
the bios/gemdos char output routines (i think) look for the default system
font and just draw the current char. that's how you can make your ST kinda
look like a mac (with "Chicago" font...).

-bill
...!rutgers!mit-eddie!alliant!rosenkra