[Mono-osx] [MonoMac] CoreText Sample

kjpou kjpou at pt.lu
Mon Feb 7 22:42:16 EST 2011


Miguel

It looks like the override DrawRect (RectangleF dirtyRect) has been 
depricated and is now Draw (RectangleF dirtyRect)

There are quite a few samples that use DrawRect that will not work now.

I included a patch

Kenneth

On 2/7/11 10:47 PM, Miguel de Icaza wrote:
>
>     Could it be the font that it is using?  Try changing the font via
>     the format menu option.  The default is "Didot" but I could change
>     it to Helvetica or something if that is the cause.
>
>
> I tried selecting a font, still nothing.
>
> The sample as I imported it is on monomac/samples
>
>>
>>
>>     On 2/7/11 6:41 PM, kjpou wrote:
>>>     Hummm that is strange.  Let me look
>>>
>>>     Kenneth
>>>
>>>     On 2/7/11 6:00 PM, Miguel de Icaza wrote:
>>>>>     Illustrates how to use CoreText to draw text along an arc in a Cocoa MonoMac
>>>>>     application.
>>>>     I tried the sample, but it does not show any text.   Is something missing?
>>>>
>>>>     Migue
>>>>
>>>     _______________________________________________
>>>     Mono-osx mailing list
>>>     Mono-osx at lists.ximian.com  <mailto:Mono-osx at lists.ximian.com>
>>>     http://lists.ximian.com/mailman/listinfo/mono-osx
>>>
>>
>>     _______________________________________________
>>     Mono-osx mailing list
>>     Mono-osx at lists.ximian.com  <mailto:Mono-osx at lists.ximian.com>
>>     http://lists.ximian.com/mailman/listinfo/mono-osx
>
>     _______________________________________________
>     Mono-osx mailing list
>     Mono-osx at lists.ximian.com <mailto:Mono-osx at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110208/1902687f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 64071 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20110208/1902687f/attachment-0001.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: coretextarcview.diff
Url: http://lists.ximian.com/pipermail/mono-osx/attachments/20110208/1902687f/attachment-0001.pl 


More information about the Mono-osx mailing list