•  Back 
  •  VDI Other Escapes 
  •  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-Filev_fontinit()                                                            VDI

Syntax

VOID v_fontinit( fptr_high, fptr_low )
WORD fptr_high, fptr_low;

Function      v_fontinit() allows replacement of the built-in system font.

Opcode        5

Sub-Opcode    102

Availability  All TOS versions.

Parameters    fptr_high and fptr_low are the high and low WORDs of
              a pointer to a Line-A compatible font header structure in
              Motorola (Big-Endian) format which contains information
              about the font to be used as a replacement for the system
              font.

Binding       contrl[0] = 5;
              contrl[1] = 0;
              contrl[3] = 2;
              contrl[5] = 102;
              contrl[6] = handle;

              intin[0] = fptr_high;
              intin[1] = fptr_low;

              vdi();

Comments      This function has never been officially documented though it
              exists in all current versions of TOS.

Group         VDI Other Escapes