- char outputJson = FALSE;
-
- char characters[] = {
- '!', '"', '#', '$', '%', '&','\'', '(',
- ')', '*', '+', ',', '-', '.', '/', '0',
- '1', '2', '3', '4', '5', '6', '7', '8',
- '9', ':', ';', '<', '=', '>', '?', '@',
- 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H',
- 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
- 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
- 'Y', 'Z', '[','\\', ']', '^', '_', '`',
- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h',
- 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
- 'q', 'r', 's', 't', 'u', 'v', 'w', 'x',
- 'y', 'z', '{', '|', '}', '~'
- };
-
- int i;
- args_t args;
- FT_Face ft_face;
- FT_UInt left_index, right_index;
- FT_Bool use_kerning;
- FT_Vector kerning;
-
- parse_args (&args);
-
-#if USE_CGIC
- if (outputJson)
- {
- cgiHeaderContentType("application/json");
- } else {
- cgiHeaderContentType("image/png");
- }
-#endif
-
- ft_face = load_ft_face_for_family (args.family);
-
- use_kerning = FT_HAS_KERNING( ft_face );
-
- /* Compute max-width and max-height */