textorize 0.27 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/textorize/renderer.rb +2 -2
- metadata +2 -2
data/lib/textorize/renderer.rb
CHANGED
@@ -12,6 +12,7 @@ module Textorize
|
|
12
12
|
|
13
13
|
set_attr_and_text options, string
|
14
14
|
window.contentView = @text_view
|
15
|
+
|
15
16
|
@text_view.sizeToFit
|
16
17
|
|
17
18
|
window.display
|
@@ -44,8 +45,7 @@ module Textorize
|
|
44
45
|
NSLigatureAttributeName => { 'off' => 0, 'standard' => 1, 'all' => 2 }[options[:ligatures]]
|
45
46
|
}
|
46
47
|
|
47
|
-
@text_view.lowerBaseline(nil)
|
48
|
-
|
48
|
+
@text_view.lowerBaseline(nil)
|
49
49
|
@text_view.setTextContainerInset([options[:padding],options[:padding]]) if options[:padding]
|
50
50
|
|
51
51
|
@text_view.string = string
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textorize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0
|
4
|
+
version: "1.0"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Fuchs
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-21 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|