Skip to content

mattetti/textorize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%