X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Readme;h=436e6b35bec11b399be80500296c602c3b069f72;hb=8092994319f38eda5005e2896d9bdffe583fec4a;hp=36728d7d2fcc2c25097da4c4ac9958feaa3d1e72;hpb=dde53369347a9b0a37823746166aac1f2a3eee7d;p=ttf2png.git diff --git a/Readme b/Readme index 36728d7..436e6b3 100644 --- a/Readme +++ b/Readme @@ -22,10 +22,11 @@ Command-line options Number of characters to put in one line. Defaults to autodetect. Ignored if -p is used. - -c - Character cell size. The special values auto and autorect may be used to - choose an autodetected square or rectangle cell, respectively. Defaults to - autodetected square. Ignored if -p is used. + -c [x] + Character cell size. If only a single number is given, a square cell is + used. The special values auto and autorect may be used to choose an + autodetected square or rectangle cell, respectively. The default is auto. + Ignored if -p is used. -o Output file name. Use - for stdout; the output is a png image, so it's @@ -56,6 +57,14 @@ Command-line options definition file is recommended, as the resulting image can seem rather messy. + -m + Leave a margin around the edges of the generated image. By default glyphs + can touch the edges. Only used with -p. + + -n + Control the amount of padding between glyphs. The default is 1 pixel. + Only used with -p. + -d File name to write glyph definitions. See the section below for details. @@ -123,7 +132,11 @@ some fonts, not all of the glyphs fit completely inside the character box. Changelog -next +1.1 +- Controllable margin and padding in packed mode +- Do not generate overly large images in sequential grid mode + +1.0 - Improve the packing algorithm - Non-square cells for grid mode - Option to invert colors