Re: NSString drawAtPoint in Mojave

2018-11-06 Thread Ken Thomases
On Nov 6, 2018, at 11:51 PM, Tom Doan  wrote:
> 
> I just started testing a port of my application to Mojave. I'm having a 
> rather odd problem with NSString drawAtPoint withAttributes. I use 
> that to add text to graph windows. All the lines and fills look fine, but 
> the text, done with drawAtPoint, doesn't show on the screen. 
> However, if I take the window and create a PDF from it, everything 
> looks fine. It also works fine on High Sierra. Anybody have any idea 
> what might be going wrong with this?

Are you just running your app on Mojave or are you also building against the 
10.14 SDK?  Are you able to test a version of your app that was built against 
an earlier SDK?  Does that show the same issue when run on Mojave?

Where/when are you calling -drawAtPoint:withAttributes:?  Is it within a view's 
-drawRect: method?  Or are you trying to draw at some other time?

Does the "Layer-Backed Views" section of the AppKit Release Notes for 10.14 
explain what you're seeing?


Regards,
Ken

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


NSString drawAtPoint in Mojave

2018-11-06 Thread Tom Doan
I just started testing a port of my application to Mojave. I'm having a 
rather odd problem with NSString drawAtPoint withAttributes. I use 
that to add text to graph windows. All the lines and fills look fine, but 
the text, done with drawAtPoint, doesn't show on the screen. 
However, if I take the window and create a PDF from it, everything 
looks fine. It also works fine on High Sierra. Anybody have any idea 
what might be going wrong with this?

Best regards,

Tom Doan
---
Estima
1560 Sherman Ave #1029
Evanston, IL 60201
USA


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com