[MacRuby-devel] [MacRuby] #628: CTFramesetterCreateFrame doesn't like the CFRange type

Laurent Sansonetti lsansonetti at apple.com
Wed May 5 20:18:09 PDT 2010


Hi Paul,

On May 5, 2010, at 7:57 PM, Paul Howson wrote:

> On 26/04/2010, at 1:33 PM, MacRuby wrote:
> 
>> #628: CTFramesetterCreateFrame doesn't like the CFRange type
>> ---------------------------+------------------------------------------------
>> Reporter:  easco@…        |        Owner:  lsansonetti@…        
>>    Type:  defect         |       Status:  closed               
>> Priority:  major          |    Milestone:  MacRuby 0.6          
>> Component:  MacRuby        |   Resolution:  fixed                
>> Keywords:                 |  
>> ---------------------------+------------------------------------------------
>> Changes (by lsansonetti@…):
>> 
>> * status:  new => closed
>> * resolution:  => fixed
>> * milestone:  => MacRuby 0.6
> 
> Hi Laurent,
> 
> What would be a feasible workaround for this problem, given than I'm using MacRuby 0.5 ?
> 
> i.e. I'm also trying to call:
> 
> CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, nil)
> 
> The second argument is a range which produces the error.
> 
> Can I edit the bridge support file? Or is there some other workaround? Can I use a more recent built of MacRuby? Or are these too buggy compared to 0.5?

Do you have any reason why you cannot use 0.6? It's much stabler than 0.5 :)

http://www.macruby.org/blog/2010/04/30/macruby06.html

Laurent


More information about the MacRuby-devel mailing list