]> icculus.org git repositories - taylor/freespace2.git/blob - src/fonttool/fontkerncopy.cpp
added copyright header
[taylor/freespace2.git] / src / fonttool / fontkerncopy.cpp
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Fonttool/FontKernCopy.cpp $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Tool for copying font kerning info
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:16  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:08  root
22  * Initial import.
23  *
24  * 
25  * 2     10/24/98 5:15p Dave
26  * 
27  * 1     10/24/98 4:58p Dave
28  * 
29  * 2     6/05/97 4:53p John
30  * First rev of new antialiased font stuff.
31  * 
32  * 1     6/02/97 4:04p John
33  *
34  * $NoKeywords: $
35  */
36
37 #include <stdlib.h>
38 #include <stdlib.h>
39 #include <stdio.h>
40 #include <io.h>
41 #include <conio.h>
42
43 #include "pstypes.h"
44 #include "osapi.h"
45 #include "cfile.h"
46 #include "2d.h"
47 #include "key.h"
48 #include "mouse.h"
49 #include "palman.h"
50 #include "timer.h"
51
52 #include "fonttool.h"
53
54 font fnt1, fnt2;
55
56 void fonttool_kerning_copy( char *fname1, char *fname2 )
57 {
58         printf( "Copying kerning data from %s to %s\n", fname1, fname2 );
59
60         fonttool_read( fname1, &fnt1 );
61         fonttool_read( fname2, &fnt2 );
62         fonttool_copy_kern( &fnt1, &fnt2 );
63
64         fonttool_dump( fname2, &fnt2 );
65
66         exit(0);
67 }
68