•  Back 
  •  About the xFSL interface 
  •  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-File13.14.1.4  The font-flags                                          TOS

With the font-flags one can restrict the fonts offered for selection:

 Name             Value   Meaning 
 FF_SYSTEM        0x0001  Show system font (additionally) 
 FF_MONOSPACED    0x0002  Show monospaced fonts 
 FF_PROPORTIONAL  0x0004  Show proportional fonts 
 FF_BITMAP        0x0008  Show bitmap fonts 
 FF_SPD           0x0010  Show Speedo fonts 
 FF_TTF           0x0020  Show TrueType fonts 
 FF_PFB           0x0040  Show Type-1 fonts 
 FF_CFN           0x0080  Show Calamus fonts (not implemented yet) 
 FF_VECTOR        0x00F0  Show all vector fonts 
 FF_ALL           0x00FE  Show all fonts 
 FF_CHANGED       0x8000  Change made (only in the popup) 

The values have been chosen in such a way that the individual flags 
may be OR'd with each other. So, for instance if one uses for the 
font-flags FF_MONOSPACED|FF_VECTOR, then only non-proportional vector 
fonts will be offered for selection.

In addition the following applies:

   . FF_SYSTEM has priority, i.e. if this flag is set then the system 
     font will be made available for selection too in any event.

   . If FF_SYSTEM is not set, then the system font will be offered for 
     selection only when its properties correspond to the set flags.

   . If neither FF_MONOSPACED nor FF_PROPORTIONAL is set, then the 
     font-flags are treated as if both flags are set.

     This applies in a similar way for FF_VECTOR and FF_BITMAP.

   . If FF_VECTOR is set, the all vector font formats will be offered 
     automatically. A finer subdivision is possible with the flags 
     FF_SPD, ..., FF_CFN, if desired.

     Please note: Calamus fonts (and therefore the FF_CFN flag) are 
     not supported by any GDOS at present!

   . The flag FF_CHANGED is only used to mark in the user-popup the 
     settings that have changed. The font-selector only sets this flag 
     but does not itself evaluate it.