]> icculus.org git repositories - taylor/freespace2.git/blob - src/fonttool/fontkerncopy.cpp
Initial revision
[taylor/freespace2.git] / src / fonttool / fontkerncopy.cpp
1 /*
2  * $Logfile: /Freespace2/code/Fonttool/FontKernCopy.cpp $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Tool for copying font kerning info
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:08  root
11  * Initial revision
12  *
13  * 
14  * 2     10/24/98 5:15p Dave
15  * 
16  * 1     10/24/98 4:58p Dave
17  * 
18  * 2     6/05/97 4:53p John
19  * First rev of new antialiased font stuff.
20  * 
21  * 1     6/02/97 4:04p John
22  *
23  * $NoKeywords: $
24  */
25
26 #include <stdlib.h>
27 #include <stdlib.h>
28 #include <stdio.h>
29 #include <io.h>
30 #include <conio.h>
31
32 #include "pstypes.h"
33 #include "osapi.h"
34 #include "cfile.h"
35 #include "2d.h"
36 #include "key.h"
37 #include "mouse.h"
38 #include "palman.h"
39 #include "timer.h"
40
41 #include "fonttool.h"
42
43 font fnt1, fnt2;
44
45 void fonttool_kerning_copy( char *fname1, char *fname2 )
46 {
47         printf( "Copying kerning data from %s to %s\n", fname1, fname2 );
48
49         fonttool_read( fname1, &fnt1 );
50         fonttool_read( fname2, &fnt2 );
51         fonttool_copy_kern( &fnt1, &fnt2 );
52
53         fonttool_dump( fname2, &fnt2 );
54
55         exit(0);
56 }
57