Article View: comp.sys.atari.st
Article #34443Re: Trying to get access to the built-in fonts
From: Eric Fraga
Date: Fri, 07 Oct 1988 16:14
Date: Fri, 07 Oct 1988 16:14
20 lines
1115 bytes
1115 bytes
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
Technical Details
Message-ID:
<4269@ubc-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!rutgers!mailrus!cornell!uw-beaver!ubc-cs!faculty.cs.ubc.ca!fragaReferences:
<1988Oct6.083409.27275@gpu.utcs.toronto.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!rutgers!mailrus!cornell!uw-beaver!ubc-cs!faculty.cs.ubc.ca!fraga From: fraga@faculty.cs.ubc.ca (Eric Fraga) Newsgroups: comp.sys.atari.st Subject: Re: Trying to get access to the built-in fonts Keywords: text size, 43 lines Message-ID: <4269@ubc-cs.UUCP> Date: 7 Oct 88 16:14:29 GMT References: <1988Oct6.083409.27275@gpu.utcs.toronto.edu> Sender: nobody@ubc-cs.UUCP Reply-To: fraga@faculty.cs.ubc.ca (Eric Fraga) Organization: UBC Department of Computer Science, Vancouver, B.C., Canada Lines: 20