]> git.tdb.fi Git - ttf2png.git/blobdiff - Readme
Update copyright at the top of the .c file
[ttf2png.git] / Readme
diff --git a/Readme b/Readme
index 3e9eb40b323aa81d348344f9065aff765ccd7457..c4fc9d05cbfb2ca7fd07a412ca1c2d6000291586 100644 (file)
--- a/Readme
+++ b/Readme
@@ -13,7 +13,10 @@ Command-line options
 
   -r <low>,<high>
     Range of code points to convert, specified as unicode code points.  The
-    default is 0,255, matching the ISO-8859-1 (Latin-1) character set.
+    default is 0,255, matching the ISO-8859-1 (Latin-1) character set.  Code
+    points can be specified as plain numbers, unicode code points (U+xxxx) or
+    UTF-8 characters.  This option can be specified multiple times to add
+    more ranges to be converted.
 
   -s <pixels>
     Font size to use.  The default is 10 pixels.
@@ -66,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 <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.
+
+  -b <pixels>
+    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.
 
@@ -133,6 +151,12 @@ some fonts, not all of the glyphs fit completely inside the character box.
 
 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
 - Do not generate overly large images in sequential grid mode