1fnts2fon(1)                        PSF Tools                       fnts2fon(1)
2
3
4

NAME

6       fnts2fon - Construct a Windows .FON file from one or more .FNT files
7

SYNOPSIS

9       fnts2fon  [--fontid=IDSTRING] [--winver=MAJOR.MINOR] [other options...]
10       INPUTFILE [INPUTFILE ...]  OUTPUTFILE

DESCRIPTION

12       fnts2fon attempts to combine one or more Windows FNT files into  a  FON
13       file.   This procedure is shrouded in darkness and mystery, dimly illu‐
14       minated by the Microsoft Knowledge Base article  <http://support.micro
15       soft.com/support/kb/articles/Q76/5/35.ASP> and the NE file format.
16
17       If you are running fnts2fon in the Cygwin environment, you will need to
18       grant execute permission to the  resulting  .FON  file  using  chmod(1)
19       before Windows can use it.
20

OPTIONS

22       Note  that apart from --fontid and possibly --winver, the other options
23       should not be necessary unless you are trying to produce  output  byte-
24       by-byte identical to an existing Windows font.
25
26       --fontid="string"
27              Sets  the font resolution / description string. This is normally
28              formed "FONTRES nn,nn,nn : Description". It must  begin  FONTRES
29              for  Windows  3.x  and  9x to recognise the font. By default the
30              string used is "FONTRES 200,96,48 : <fontname> ".
31
32       Under MS-DOS, use underlines to represent spaces - for example,
33              --fontid=FONTRES_83,60,72_:_Times_Roman
34
35       --winver=MAJOR.MINOR
36              Sets the Windows version required in the output file. The  MAJOR
37              and  MINOR  are treated as separate numbers, so --winver=3.1 and
38              --winver=3.01 are the same, but --winver=3.1  and  --winver=3.10
39              are  different.  Windows  2.x and 3.0 still load fonts marked as
40              for version 3.1 so this option may not have much practical use.
41
42
43       --checksum16=nnn and --checksum32=nnn
44              Set the 16-bit checksum in the DOS header, and the 32-bit check‐
45              sum  in  the  Windows  header.  Windows does not appear to check
46              these.
47
48
49       --dosmsg
50              Sets the message to display if the font is renamed to  .EXE  and
51              run from DOS.
52
53
54       --idbase=nnn
55              Sets the resource ID to allocate to the first font.
56
57
58       --idstep=nnn
59              Sets the increment to add to the resource ID.
60
61
62       --linkver=MAJOR.MINOR
63              Set the version of the linker that supposedly created this file.
64              The same caveats apply as for --winver.
65
66
67       --modname=NAME
68              Set the name of the program that  was  supposedly  assembled  to
69              make this file.
70
71
72       --mzextra=NNN
73              Sets the value in word 2 of the 'MZ' file header.
74
75       --stub=nnn
76              Set the DOS stub to use. They all do exactly the same thing, but
77              in slightly different ways.
78
79
80       --sysfont=nnn
81              Mark font nnn as a system font.
82

BUGS

84       Does not appear to work with vector .FNT files, only raster ones.
85

SEE ALSO

87       cpi2psf(1), cpicomp(1), cpidcomp(1)
88

AUTHOR

90       John Elliott <jce@seasip.demon.co.uk>.
91
92Version 1.0.8                    21 June, 2008                     fnts2fon(1)
Impressum