•  Back 
  •  Superior attributes 
  •  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.4.6.71  vst_kern                                                 TOS

 Name:         »Set kerning mode«

 Opcode:       237

 Syntax:       void vst_kern ( int16_t handle, int16_t tmode, int16_t 
               pmode, int16_t *tracks, int16_t *pairs );

 Description:  The call vst_kern permits setting of the desired 
               kerning mode and its values.

                Parameter Meaning



                handle Workstation identifier

                tmode Track kerning:

                   0 =     No track kerning
                   1 =     Normal
                   2 =     Tight
                   3 =     Very tight

                pmode Pair kerning:

                   0 =     No pair kerning
                   1 =     Use pair kerning

                tracks Track kerning mode

                pairs Number of kerning pairs defined in font

               Note: Most Speedo fonts have 3 kerning tracks. Ordinary 
               TrueType fonts do not have any kerning tracks, but some 
               GX TrueTypes do.

               NVDI allows the caller to set a user-defined track 
               kerning (vst_track_offset). The track kerning mode must 
               be 255 (track_mode) and intin[2..3] contain the offset 
               in 1/65536 pixels.

 Return value: The function does not return a result.

 Availability: As of SpeedoGDOS 4.00, and NVDI 3.00 onwards.

 Group:        Text attributes

 See Also:     Binding   vqt_pairkern   vqt_trackkern 
               vst_track_offset