Hey, Thank You! Your example worked like a charm! I'll try move project to Monobjc.
Best Regards, Virginijus On Fri, Jul 1, 2011 at 8:09 PM, Laurent Etiemble < laurent.etiem...@monobjc.net> wrote: > Hello, > > I have attached a small project that demonstrate the testing, loading and > use of embedded fonts (both TTF and OTF fonts). The project has to be opened > in MonoDevelop. Be sure to install the Monobjc bridge package and the > MonoDevelop Monobjc addins ( > http://www.monobjc.net/index.php?page=getting-started) before. > > Note: I have started the wrapping of the CoreText types into Monobjc; it > was on my TODO list, but I never got a request for them. Now I got one. > > Regards, Laurent Etiemble. > > 2011/6/30 Virginijus <mrgu...@gmail.com> > >> I need CTFontManagerIsSupportedFontFile and >> CTFontManagerRegisterFontsForUrl. The last one is crucial. >> >> On Jun 30, 2011 8:50 PM, "Laurent Etiemble" <laurent.etiem...@monobjc.net> >> wrote:> Hello, >> > >> > Currently, the CoreText API is partially parsed but not included in the >> > distribution. >> > >> > What CoreText types do you need ? If you only need 2 or 3 types, I can >> send >> > you the wrapped types. >> > >> > Regards, Laurent Etiemble. >> > >> > 2011/6/30 Virginijus <mrgu...@gmail.com> >> > >> >> I am currently using MonoMac but looking into other options due to >> >> crashes when loading custom fonts. The one thing that prevents me from >> >> migrating to Monobjc - the lack of CoreText library with CTFontManager >> which >> >> loads custom fonts to be used in application (which is crutial for me). >> >> Could anyone tell me if there's any way to do it in Monobjc? >> >> >> > >