2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
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
10 * $Logfile: /Freespace2/code/Fonttool/FontKernCopy.cpp $
15 * Tool for copying font kerning info
18 * Revision 1.3 2003/01/30 20:03:48 relnev
19 * various files ported needed for fonttool. There is a bug where on exit it segfaults in SDL_GL_SwapBuffers, I'm probably missing something (don't know what) but it works fine otherwise (Taylor Richards)
21 * Revision 1.2 2002/06/09 04:41:16 relnev
22 * added copyright header
24 * Revision 1.1.1.1 2002/05/03 03:28:08 root
28 * 2 10/24/98 5:15p Dave
30 * 1 10/24/98 4:58p Dave
32 * 2 6/05/97 4:53p John
33 * First rev of new antialiased font stuff.
35 * 1 6/02/97 4:04p John
60 void fonttool_kerning_copy( char *fname1, char *fname2 )
62 printf( "Copying kerning data from %s to %s\n", fname1, fname2 );
64 fonttool_read( fname1, &fnt1 );
65 fonttool_read( fname2, &fnt2 );
66 fonttool_copy_kern( &fnt1, &fnt2 );
68 fonttool_dump( fname2, &fnt2 );