textorize produces beautifully subpixel antialiased text graphics on OS X, through a MacRuby Ruby script.
Output format is always PNG.
View the presentation on why this is awesome and how it compares to other “web typography” solutions and techniques: www.slideshare.net/madrobby/textorize
Install the gem and binary by doing:
$ macgem sources -a http://gemcutter.org $ sudo macgem install textorize-mr
This will install the textorize Ruby Gem, and the textorize
command line tool.
textorize [options] string -f, --font=[FONT] Font name -s, --size=[SIZE] Font size in point -l, --lineheight=[HEIGHT] Line height in point -o, --output=[FILENAME] Specify filename for saving -b, --obliqueness=[ANGLE] Slant angle (radians) -c, --color=[COLOR] Render text in specific color --background=[COLOR] Render background in specific color -h, --help Display this message and exit
textorize -f"Didot" -s200 "MacRuby Rocks" textorize -fLucida\ Grande -s150 --color=0.5,1,0.5 --background=0,0,0.5 foo\ bar
This software is alpha-quality and has some bugs and known issues. Please contribute!
github.com/mattetti/textorize Ported to MacRuby from github.com/madrobby/textorize
textorize is released under the MIT license.