jagged looking text ?
jagged looking text ?
- Subject: jagged looking text ?
- From: RFM <email@hidden>
- Date: Tue, 21 May 2002 10:26:47 -0400
- Organization: RFM & Associates
Hello,
I have what amounts to probably a basic question but have had no
luck finding the answer. I'm working on an application that uses the
NSLayout manager to draw text using the two calls:
[drawBackgroundForGlyphRange: atPoint:]
[drawGlyphesForGlyphRange: atPoint: ]
In the application there are any number of custom text 'objects' (not
NSTextViews) that may be drawn at different locations. These text
objects use a shared layout manager. (similar to the developer 'Sketch'
example program). The problem I'm seeing is that when the text is drawn
on the screen it does not appear to be 'smoothed' the edges appear rough
most times. I'm using the OS label font with the labelFontSize applied.
I've tried adding a setShouldAntialias: call to the current graphics
context before the calls but, that doesn't seem to have any effect. Is
there a call to make to get the text to look smooth ??
Thanks in advance,
Regards,
Bob M.
_______________________________________________
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.