+void usage()
+{
+ printf("ttf2png 1.0 - True Type Font to PNG converter\n"
+ "Copyright (c) 2004-2008 Mikko Rasa, Mikkosoft Productions\n"
+ "Distributed under the GNU General Public License\n\n");
+
+ printf("Usage: ttf2png [options] <TTF file>\n\n");
+
+ printf("Accepted options (default values in [brackets])\n"
+ " -r Range of characters to convert [0,255]\n"
+ " -s Font size to use, in pixels [10]\n"
+ " -l Number of characters to put in one line [auto]\n"
+ " -c Character cell size, in pixels [auto]\n"
+ " -o Output file name (or - for stdout) [font.png]\n");
+ printf(" -a Force autohinter\n"
+ " -t Render glyphs to alpha channel\n"
+ " -i Invert colors of the glyphs\n"
+ " -v Increase the level of verbosity\n"
+ " -e Use cells in sequence, without gaps\n"
+ " -p Pack the glyphs tightly instead of in a grid\n"
+ " -d File name for writing glyph definitions\n"
+ " -h Print this message\n");
+}
+