Posts Tagged textorize

MacRuby 0.5 beta 1 and Textorize

Good news everyone!

MacRuby beta 1 has been released! Official announcement here.

Download MacRuby 0.5 beta1

Download MacRuby 0.5 beta1

Note that the download is only for SnowLeopard, intel machines.

Lots of great stuff in this new release, the first one based on LLVM. Check the Laurent’s post to learn more about the work done on compilation, optimization, concurrency, compatibility and Cocoa interaction. And a big thank you to Laurent Sansonetti who is putting so much effort in this project!

However, don’t forget it’s still a beta release and you might encounter bugs. Feel free to report them in the bug tracker or ask on the mailing list.

On a different topic, the other day, John Gruber from Daring Fireball wrote a quick note about Thomas Fuchs’ textorize script which since got its own place on the internet

Textorize is a Ruby-based font rasterizer command line utility for Mac OS X. It generates PNG files from an input string and options, using Mac OS X’s pristine typography facilities. As John said, it’s a case where a few lines of Ruby code beat Photoshop.

Thomas version is based on RubyCocoa which is great… but not MacRuby.

To celebrate MacRuby 0.5 beta1, I ported the gem over and pushed it to the excellent facility.

After installing MacRuby beta, follow these directives:

$ macgem sources -a
$ sudo macgem install textorize-mr
$ textorize -f"Didot" -s200 "MacRuby 0.5b1"
$ open output.png

And you will get a subpixel antialiased fancy bitmap like that:


Check for more examples and for the source code.

, , , ,

1 Comment