Re: Custom text via Core Text in a layer.
Re: Custom text via Core Text in a layer.
- Subject: Re: Custom text via Core Text in a layer.
- From: John Clayton <email@hidden>
- Date: Mon, 19 Nov 2007 19:46:53 +0100
I'm not - I just created a .rtf file in TextEdit, made some things
bold, some thing yellow, gave the whole text a background shadow - and
expected that this would then show up in core-text rendered graphics
as well.
Bad assumption??
On 19/11/2007, at 6:46 PM, j o a r wrote:
On Nov 19, 2007, at 9:39 AM, John Clayton wrote:
I'm using the following code to draw an attributed string into a
layer (my own CATextLayer), but the text *always* draws black - is
there something simple that I'm doing wrong? I am of course
assuming that the colour into in the attributed string would
determine how that content is being drawn.
Quick off-list question:
How certain are you that your attributes are set up correctly? Have
you verified in some non-CT layer context that they do the right
thing?
j o a r
_______________________________________________
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