]> git.donarmstrong.com Git - lilypond.git/blob - ttftool/test.c
Added color names.
[lilypond.git] / ttftool / test.c
1 #ifdef TEST_TTFTOOL
2
3 #include <stdlib.h>
4 #include <stdio.h>
5 #include <assert.h>
6
7 #include "ttftool.h"
8
9
10 main (int argc, char **argv)
11 {
12   FILE *in, *out;
13   if (argc != 3)
14     {
15       fprintf (stderr, "%s input.ttf output.pfa", argv[0]);
16       exit (2);
17     }
18
19   out = fopen (argv[2], "w");
20   assert(out);
21   create_type42 (argv[1], (void*) out);
22 }
23
24 #endif