[MacRuby] #1114: Unable to use CATextLayer.font= which expects a CFTypeRef
#1114: Unable to use CATextLayer.font= which expects a CFTypeRef -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.9 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- This is with BS preview 2. {{{ % macirb irb(main):001:0> framework 'QuartzCore' => true irb(main):004:0> framework 'AppKit' => true irb(main):005:0> font = NSFont.systemFontOfSize(NSFont.systemFontSize) => #<NSFont:0x200b25300> irb(main):006:0> layer = CATextLayer.new => #<CATextLayer:0x200b22f80> irb(main):007:0> layer.font = font TypeError: expected instance of Pointer, got `#<NSFont:0x200b25300>' (NSFont) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1114> MacRuby <http://macruby.org/>
#1114: Unable to use CATextLayer.font= which expects a CFTypeRef -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * milestone: MacRuby 0.9 => MacRuby 1.0 -- Ticket URL: <http://www.macruby.org/trac/ticket/1114#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby