• 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
Re: CATextLayer and vectors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CATextLayer and vectors


  • Subject: Re: CATextLayer and vectors
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 07 Jan 2013 22:25:57 -0800

On Mon, Jan 7, 2013, at 09:38 PM, Graham Cox wrote:
> Hi all,
>
> CATextLayer is a great convenience, but when zooming a layer-based view,
> it gets blocky. Contrast CAShapeLayer, which renders in screen space and
> so never gets blocky.
>
> Is there a way to get CATextLayer to do the same, or am I forced to roll
> my own solution?

If it's just a small bit of text, you could convert the text into a
Bézier path and assign that to a shape layer.

But if it's a lot of text, you will manually have to re-render it.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >CATextLayer and vectors (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: PDFView drawPage called often after selecting text
  • Next by Date: Re: Printing layer-based view
  • Previous by thread: CATextLayer and vectors
  • Next by thread: Printing layer-based view
  • Index(es):
    • Date
    • Thread