• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
jagged looking text ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Viewing array elements in Project Builder
  • Next by Date: Finding the firstResponder TextField or TextView
  • Previous by thread: Re: Viewing array elements in Project Builder
  • Next by thread: Finding the firstResponder TextField or TextView
  • Index(es):
    • Date
    • Thread