Skip navigation.
 
mlRe: Custom text via Core Text in a layer.
FROM : John Clayton
DATE : Mon Nov 19 19:46:53 2007

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
>
>

Related mailsAuthorDate
mlCustom text via Core Text in a layer. John Clayton Nov 19, 18:39
mlRe: Custom text via Core Text in a layer. John Harper Nov 19, 19:45
mlRe: Custom text via Core Text in a layer. John Clayton Nov 19, 19:46
mlRe: Custom text via Core Text in a layer. Aki Inoue Nov 19, 20:03
mlRe: Custom text via Core Text in a layer. John Clayton Nov 19, 23:29
mlRe: Custom text via Core Text in a layer. Aki Inoue Nov 26, 19:04