[MacRuby-devel] Is CoreText Fully Support

Laurent Sansonetti lsansonetti at apple.com
Thu Oct 7 19:17:18 PDT 2010


Hi,

Could you reduce the problems to simple .rb scripts and attach them to a new ticket?

We are working on a new version of BridgeSupport which will add missing metadata (I believe it will fix your CoreText problems), but we will need to verify.

In the interim, you can wrap CoreText APIs in Objective-C classes, them call them from MacRuby directly.

Laurent

On Oct 7, 2010, at 7:41 AM, 聂殿辉 wrote:

> Hi
>  I'm doing some work with CoreText with macruby ,and i had some question
> 
> 1.  CTline and some other `struct` does not have a ruby class ,the ctline.class is  __NSCFType
> , not like the CGRect struct,in macruby ,the class is CGRecct ,so i can reopen the class ,and add some help methods.
> 2.  the CTRunGetStringRange should return a CFRange but it return a class named Boxed
> 
> can i wrap the CoreText in macruby ? and some suggestions ??
> 
> thanks 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101007/6649f45f/attachment.html>


More information about the MacRuby-devel mailing list