Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

let us call it one-oh

  • Loading branch information...
commit 08ae6cb29460564dade7f0cc36d9e1f022dcd539 1 parent ceaaf2a
@madrobby authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/textorize/renderer.rb
  2. +2 −2 textorize.gemspec
View
4 lib/textorize/renderer.rb
@@ -12,6 +12,7 @@ def initialize(window, string, options)
set_attr_and_text options, string
window.contentView = @text_view
+
@text_view.sizeToFit
window.display
@@ -44,8 +45,7 @@ def set_attr_and_text(options, string)
NSLigatureAttributeName => { 'off' => 0, 'standard' => 1, 'all' => 2 }[options[:ligatures]]
}
- @text_view.lowerBaseline(nil)
-
+ @text_view.lowerBaseline(nil)
@text_view.setTextContainerInset([options[:padding],options[:padding]]) if options[:padding]
@text_view.string = string
View
4 textorize.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = "textorize"
- s.version = "0.27"
- s.date = "2009-10-12"
+ s.version = "1.0"
+ s.date = "2009-10-21"
s.summary = "OS X subpixel antialiased PNG string renderer"
s.email = "thomas@fesch.at"
s.homepage = "http://textorize.org/"
Please sign in to comment.
Something went wrong with that request. Please try again.