Hi Aki,

Thanks!  That was indeed the problem.  I checked whether my whole CGLayer 
detour was still needed after disabling screen fonts (the reason was that 
rotated text looked bad) but I see that's still the case even with screen fonts 
disabled.

Thanks again,
Sander

On Feb 6, 2010, at 7:54 PM, Aki Inoue wrote:

> It's the screen font setting that's causing the shift between the two.
> 
> When you use the screen font, CoreGraphics tries to position the glyph origin 
> at the pixel boundary as much as possible.
> 
> In this case, because of the way two rendering types differ how interpret the 
> pixel boundary, the shift could occur.
> 
> The best solution is to disable the screen font via [layoutManager 
> setUsesScreenFonts:NO] to both cases.
> 
> Aki

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to