public
Fork of madrobby/textorize
Description:
Homepage: http://www.slideshare.net/madrobby/textorize
Clone URL: git://github.com/mattetti/textorize.git
name age message
file .gitignore Sun Sep 27 07:46:29 -0700 2009 Bump version [madrobby]
file LICENSE Sat Sep 26 07:13:51 -0700 2009 cleanups, remove dead options, off-screen rende... [madrobby]
file README.rdoc Wed Oct 07 20:59:47 -0700 2009 fixed the readme [mattetti]
file Rakefile Sat Sep 26 05:57:43 -0700 2009 initial version [madrobby]
directory bin/ Wed Oct 07 20:55:11 -0700 2009 made the gem pushable to gemcutter [mattetti]
directory lib/ Wed Oct 07 20:21:19 -0700 2009 tiny change to make macruby & lrz happier :) [mattetti]
directory test/ Sat Sep 26 05:57:43 -0700 2009 initial version [madrobby]
file textorize-mr.gemspec Wed Oct 07 20:55:11 -0700 2009 made the gem pushable to gemcutter [mattetti]
README.rdoc

textorizer: for a more beautiful web

textorize produces beautifully subpixel antialiased text graphics on OS X, through a MacRuby Ruby script.

Output format is always PNG.

Learn more

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

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.

Usage (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

Examples

    textorize -f"Didot" -s200 "MacRuby Rocks"

    textorize -fLucida\ Grande -s150 --color=0.5,1,0.5 --background=0,0,0.5 foo\ bar

It’s alpha!

This software is alpha-quality and has some bugs and known issues. Please contribute!

Source

github.com/mattetti/textorize Ported to MacRuby from github.com/madrobby/textorize

textorize is released under the MIT license.