On 10/08/2011, at 2:06 AM, Gabriel Zachmann wrote:
> Just checked the doc of CATextLayer but couldn't find a hint on how it helps
> me determine whether or not a font is installed ... can you tell me?
I doesn't. But it falls back gracefully, AFAIK.
If you need a specific non-standard font, yo
>>CGContextSelectFont( ctxt, "AndaleMono", 14, kCGEncodingMacRoman );
>> // "Andale Mono" doesn't work either
>
> Perhaps he doesn't have "Andale Mono" on his machine? I'm not sure what CG
> does with text if the font isn't there, does it fall back to something else
> or just silently f
On Aug 9, 2011, at 9:48 AM, Gabriel Zachmann wrote:
> Thanks a lot for your response ...
>
>> I've found the Core Graphics text handling methods to be gnarly and awkward
>> the few times I've attempted to use them, and always ended up going some
>> other route to render text.
>
> Could you pl
On 10/08/2011, at 12:48 AM, Gabriel Zachmann wrote:
> Could you please point me to a few of them?
NSString, NSAttributedString, Core Text
> Can CATextLayer render text with a shadow?
> Like this:
> CGContextSetShadowWithColor( ctxt, CGSizeMake(0,0), 10, blue );
>
> I really need the shadow t
Thanks a lot for your response ...
> I've found the Core Graphics text handling methods to be gnarly and awkward
> the few times I've attempted to use them, and always ended up going some
> other route to render text.
Could you please point me to a few of them?
>
> In your case, the choice se
On 09/08/2011, at 10:43 PM, Gabriel Zachmann wrote:
> I have checked that 'str' does actually hold a valid string at the user's
> instance. (I logged it and had him send me the log file.)
>CGContextSelectFont( ctxt, "AndaleMono", 14, kCGEncodingMacRoman ); //
> "Andale Mono" doesn't wo
On 09/08/2011, at 10:43 PM, Gabriel Zachmann wrote:
> I have checked that 'str' does actually hold a valid string at the user's
> instance. (I logged it and had him send me the log file.)
> I have also tried different font sizes.
> I have also googled around.
> All to no avail.
>
>
> Does anyb