Hi,

Checked. Both the fonts (text field’s as well as descAttribs) are same with 
same “spc” values, at run time.
Tried with “Arial Bold”, but same result: text field rendering looks bolder and 
darker.

As Rob suggested, if its a more deeper thing like “updateLayer vs not” case, 
what can be done?

Actually I’m using text fields for simplicity at a lot of places. And 
drawInRect: at some places, in order to vertically centre the multi-line text 
more conveniently.

But it looks odd in contrast when I’m doing both on the same window. I want 
both to match.

Wishes,
Navneet

> On 10-Apr-2017, at 10:50 PM, Jens Alfke <[email protected]> wrote:
> 
> That's weird. I think you'll need to do some detective work.
> - Break at runtime and check what the value of textField.font actually is.
> - Try using a different font and see if it makes any difference.
> 
> —Jens

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to