[Mono-osx] [MonoMac] CoreText Sample

Miguel de Icaza miguel at novell.com
Mon Feb 7 23:51:06 EST 2011


Hello Kenneth,

   Thanks for tracking this down.

    I am thinking that we should undo the change from DrawRect to Draw.   I
know it is slightly inconsistent with MonoTouch, but the code is not
portable anyways.

Miguel

On Mon, Feb 7, 2011 at 10:42 PM, kjpou <kjpou at pt.lu> wrote:

>  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 listMono-osx at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>> _______________________________________________
>> Mono-osx mailing listMono-osx at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>
> _______________________________________________
> Mono-osx mailing list
> 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/20110207/fb15a2d3/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/20110207/fb15a2d3/attachment-0001.png 


More information about the Mono-osx mailing list