X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Readme;h=c4fc9d05cbfb2ca7fd07a412ca1c2d6000291586;hb=77f478639867f1ff138c0fcc8d566eba5a45469b;hp=9d10f6c52f85b599349e028fa45766b9fdb16713;hpb=633be0c0c9ae91ab068ee84d4eb5f32328cf6280;p=ttf2png.git diff --git a/Readme b/Readme index 9d10f6c..c4fc9d0 100644 --- a/Readme +++ b/Readme @@ -69,6 +69,21 @@ Command-line options Control the amount of padding between glyphs. The default is 1 pixel. Only used with -p. + -g + Allow the resulting image to have a non-power-of-two size. By default the + image size is rounded up to a power of two for maximum compatibility. + + -f + Generate a distance field texture. The argument controls the amount of + oversampling when calculating distances. Larger values may produce more + accurate results but take longer to process. Distance fields are always + stored without alpha and with large/positive values indicating the inside + of glyphs; the -t and -i options are ignored. + + -b + Set the border zone width for distance field. The default is the square + root of the font size. + -d File name to write glyph definitions. See the section below for details. @@ -139,6 +154,8 @@ Changelog next - Alternate ways of specifying code point ranges - Multiple code point ranges can be specified +- Option to generate non-power-of-two images +- Support for distance field generation 1.1 - Controllable margin and padding in packed mode