•  Back 
  •  VDI structures 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.13.13  XFNT_INFO                                                 TOS

typedef struct
{
   int32_t  size;             /* Length of the structure; initialize
                                 this entry before calling vqt_xfntinfo  */
   int16_t  format;           /* Font format, e.g. 4 for TrueType        */
   int16_t  id;               /* Font ID, e.g. 6059                      */
   int16_t  index;            /* Index                                   */
   int8_t  font_name[50];     /* Font name, e.g. "Century 725 Italic BT" */
   int8_t  family_name[50];   /* Font family name, e.g. "Century725 BT"  */
   int8_t  style_name[50];    /* Font style name, e.g. "Italic"          */
   int8_t  file_name1[200];   /* Name and path of the first font file,   */
                              /* e.g. "C:\FONTS\TT1059M_.TTF"            */
   int8_t  file_name2[200];   /* Name of the 2nd font file               */
   int8_t  file_name3[200];   /* Name of the 3rd font file               */
   int16_t  pt_cnt;           /* Number of available point sizes         */
                              /* (vst_point), e.g. 10                    */
   int16_t  pt_sizes[64];     /* Available point sizes, e.g. { 8, 9, 10, */
                              /*            11, 12, 14, 18, 24, 36, 48 } */
} XFNT_INFO;

Note: So that the information can be entered in the structure, the 
size of the structure must be entered into the component size.

The following apply for the component format:

 1  =  Bitmap font 
 2  =  Speedo font 
 4  =  TrueType font 
 8  =  Type-1 font 

All character strings are NULL-terminated strings in C format. 
Structure elements that are not demanded have no defined contents.

See Also: GEM   NVDI   vqt_xfntinfo