Tahoma Font

Bob Sneidar bobs at twft.com
Wed Jul 27 12:24:23 EDT 2011


You just put the font file into /System/Library/Fonts. You have to shell it if the user is not an admin because of permissions. The shell command is simply the one to copy, but you may have to sudo it because it is in the System package. Alternately you could put the font into the user's font folder ~/Library/Fonts (surprisingly this is how Microsoft does it when they run their Office Install the first time you run an Office product in a profile). This way you would not have to sudo or shell because the user (presumably) has write permission to his own library. 

For Windows however, I am not sure how you would go about doing that. Lemme google... AH YES! Here you go.
http://www.sevenforums.com/general-discussion/28817-installing-fonts-via-command-line-script.html

Bob

ps. Google is your friend. 

On Jul 26, 2011, at 6:57 PM, Marty Knapp wrote:

> I've not tinkered with shell commands - what is the shell command for installing fonts on Mac?
> 
> Marty K
>> It's been an assumption of mine that if planning for standalone application cross platform support, there are three approaches:
>> 
>> 1. ONLY use fonts common to all systems. This is fairly easy with Windows and Apple, but becomes problematic with other flavors.
>> 2. Create an installer that includes the truetype fonts you use, and install them via a shell. This of course may mean licensing the fonts you want to use, unless you choose public domain fonts.
>> 3. Script for the detected operating system and as Scott said, brute force it. This is just ugly, but is probably the most flexible way to go about it.
>> 
>> my 2¢. Not saying anything new I suppose. I had an issue years ago where Microsoft had a font they used in Windows which Foxpro made much use of, and the app I developed for was built around it. I was porting a Mac version of the app, so I contacted Microsoft to see if I could get a copy of the font for use on Apples, and was willing to license it. They took the line that all parts of the Microsoft operating system were part and parcel of it, and would not allow me to obtain or use it under any circumstance, even though I was using Microsoft Foxpro for the Mac.
>> 
>> Is it lawyers that make companies anal, or vis versa?
>> 
>> Bob
>> 
>> 
>> On Jul 26, 2011, at 3:11 PM, J. Landman Gay wrote:
>> 
>>> On 7/26/11 4:35 PM, Scott Rossi wrote:
>>>> I personally have been fighting a lot with cross platform font issues and
>>>> find it a chore.  When using stacks' non-default fonts/sizes, I've found no
>>>> other solution than to brute-force set these upon opening stacks.  Maybe
>>>> someone else knows the secrets for handling this better.
>>> I do the same thing and it's a pain. I think this is something that profiles are supposed to be good for, but I haven't actually tried them.
>>> 
>>> -- 
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           |     http://www.hyperactivesw.com
>>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list