•  Back 
  •  VDI Attributes 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevqt_name()
vst_font()                                                              VDI

Syntax

WORD vst_font( handle, index )
WORD handle, index;

Function      vst_font() sets the current text font.

Opcode        21

Availability  Supported by all drivers.

Parameters    handle specifies a valid workstation handle. index specifies
              the index (as returned by vqt_name() ) of the font to
              enable.

Binding       contrl[0] = 21;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = index;

              vdi();

              return intout[0];

Return Value  vst_font() returns the index of the font actually set.

See Also      vqt_name()

Group         VDI Attributes