[comp.sys.atari.st] Trying to get access to the built-in fonts

romwa@gpu.utcs.toronto.edu (Mark Dornfeld) (10/06/88)

	I am just now beginning to get my hands into GEM
programming, and I have a simple question regarding text size.
Programs such as UNITERM and WordPerfect allow you to get 43
lines of text on the screen.  1st WordPlus even displays a 6x6
font for superscripts (I think).  These all look to be built in
fonts.  So the question is how do I access these fonts to use
them?

advTHANKSvance

Pavneet Arora
...!utgpu!rom!pavneet

Royal Ontario Museum
100 Queen's Park
Toronto, Ontario
M5S 2C6
(416) 585-5626

jtang@orion.cf.uci.edu (James Tang) (10/07/88)

Hi ya all.... I am planing to buy an Atari ST rank computer, and want to
ask a few questions, any comment would be appreciated!


What's the average price for (each) the Atari 520, 1040, Mega 2 (2 megs one),
DSDD disk drive, color monitor, monitor/tv (for 1040 or Mega 2)?


Also, what's average price for the package deal?

	520/DSDD drive/Atari Color monitor   $????
	1040/DSDD drive/ATari Color monitor  $????
and	Mega 2/DSDD drive/Atari Color monitor $????


thanks in advance!!!

james

fraga@faculty.cs.ubc.ca (Eric Fraga) (10/07/88)

I do the following (which gives you up to 50 lines on a screen,
actually):

  ...
  Handle=graf_handle(&dummy,&dummy,&dummy,&dummy);
  for( i=0; i<10; i++)
    workIn[i]=1;
  workIn[10]=2;
  v_opnvwk(workIn, &Handle, workOut);
#define SMALLCHR	(6)
  vst_height( Handle, SMALLCHR, &CellW, &CellH, &CharW, &CharH );
  ...

This is only part of the code needed but the last call is the one
that tells the system to use the small char (6x6) font.


Eric S Fraga, Dept of Computer Science, University of British Columbia
+1 604 228 6770, fraga@cs.ubc.cdn