]> git.tdb.fi Git - ttf2png.git/blobdiff - Readme
Add support for generating distance field textures
[ttf2png.git] / Readme
diff --git a/Readme b/Readme
index 946c9b72f9ff8d93168995f3607e520f409db44a..7695e617997943e4f235f74d71913a776cfd2a69 100644 (file)
--- a/Readme
+++ b/Readme
@@ -69,10 +69,17 @@ Command-line options
     Control the amount of padding between glyphs.  The default is 1 pixel.
     Only used with -p.
 
-  -f
+  -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 <num>
+    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.
+
   -d
     File name to write glyph definitions.  See the section below for details.
 
@@ -144,6 +151,7 @@ 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