NSTextView and font sizes?
NSTextView and font sizes?
- Subject: NSTextView and font sizes?
- From: Alex Rice <email@hidden>
- Date: Mon, 20 Jan 2003 23:09:07 -0700
I have subclassed NSTextView and am using insertText: to layout a bunch
of NSAttributedStrings. Like this
NSAttributedString *nameStr = [[[NSAttributedString alloc]
initWithString: name
attributes: attrs] autorelease];
[self insertText: nameStr];
attrs has a font object set for the key NSFontAttributeName. What I am
seeing is that the font is correctly rendered in the NSTextView, but
the font size is thrown out. The font size is definitely correct in the
font object that's set in attrs. What am I missing here?
Thanks,
Alex Rice <email@hidden> | Mindlube Software |
http://mindlube.com
what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.