•  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.6  Positioning of vector text                               TOS

When outputting vector fonts the VDI works internally with resolution 
steps of 1/65536 of a pixel, to ensure precise character positioning 
irrespective of the output device used and its actual resolution.

To output the bitmaps for individual characters, these fixed-point 
values are converted to pixels by adding 32768 and then dividing by 
65536.

   . When track kerning is switched on, an offset that is obtained 
     from vqt_trackkern is added to each character position.

   . When pair kerning is switched on, an offset that is returned by 
     vqt_pairkern is added to each character position.

Warning: Pair/track kerning and the positioning in 1/65536 of a pixel 
will only be applied if v_ftext is called! With v_gtext, vector fonts 
behave mostly like bitmap fonts and neither kerning nor exact positio- 
ning are used.

See Also: Pair kerning   Track kerning   fix31 format