•  Back 
  •  Details about vector fonts 
  •  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.2.12.2  Font index and ID                                        TOS

The index of a font is a number between 1 and the number of available 
fonts. Depending on the number of installed fonts, a font like "Swiss 
721" has a different index (supposing that Swiss 721 is one of the 
installed fonts).

The Font ID of a font is a fix number which is (with a few exceptions) 
not depending on the number of installed fonts or the used system - 
e.g. the id of "Swiss 721" is always 5003.

Of course there are exceptions from this rule: Some TrueType and Type 
1 fonts do not have an id. In this case will try zo creates a unique 
id based on the name. This id can depend on the ids of the other 
installed fonts and therefore the same font might have another id on 
another computer with other fonts. To avoid problems like selecting 
the wrong font and to facilate replacing not existing fonts, you 
should save the id and the name of a font.

See Also: Vector fonts   About the VDI   GDOS   Style guidelines