On 13-May-07, at 7:05 PM, David Fleming wrote:
>
> --- Norman Palardy <[EMAIL PROTECTED]>
> wrote:
>
>> dest = SpecialFolder.Library.Child("Fonts")
>> // this gets /
>> Library/Fonts
>>
>> or
>>
>> dest =
> SpecialFolder.Preferences.Parent.Child("Fonts")
>> // this gets
>> ~/Library/Fonts
>>
>
> Ah! That's it.. Duh.. So that's what parent/child is
> all about. :)
>
> Surely there's a more elegant solution? It would be
> nice to drag the font file into the project.. and use
> it.
Look at
ATSFontActivateFromFileSpecification - Activates one or more
fonts from a file specification.
or
ATSFontActivateFromMemory - Activates one or more fonts at
the specified location in memory.
This might give you some opportunities to use a font as you're asking
about
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>