Re: Small font issue
Re: Small font issue
- Subject: Re: Small font issue
- From: "Shoaib" <email@hidden>
- Date: Mon, 27 Jan 2003 23:21:29 GMT
Here's some more info:
I've created a subclass of NSTextView but I've not overridden the drawRect
method. i.e. I'm not doing any drawing, that is taken care of by the base
NSTextView class. The only thing my subclass adds is settings like fonts,
non-editable, non-selectable, etc. for convenience purposes.
Also, the NSTextView subclass is added to NSView programmatically via
[NSView addSubView]. I have other NSTextViews of the same class with larger
fonts that work just fine. I don't understand why the small font causes
problems.
That's all the additional info I have.
Douglas Davidson writes:
On Monday, January 27, 2003, at 02:19 PM, Shoaib wrote:
I have an NSTextView that is setup to use Arial 11 as the font. Every
once in a while, the font doesn't display properly. It's completely
legible but it appears as if it's in bold, as if it was out of focus. If
I resize the window that holds the NSTextView, the problem goes away (the
NSTextView is setup to resize with the window).
The symptom sounds like one of multiple drawing--with antialiasing, if the
same text is drawn twice, without the background being drawn in between,
it becomes a bit darker around the edges. However, without more
information I can't say why that might occur in this case.
Douglas Davidson
_______________________________________________
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.
_______________________________________________
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.