PDA

View Full Version : font folder



gamebuster5
05-26-2008, 01:33 AM
I am under the impression that we can use the gd library on host monster, however the gd library font files require a path to the .ttf file as far as I can tell. Does anyone know the location of the .ttf files on the server or an alrenate way to select the font using the gd library.

Thanks

EDIT: nvm I'm just using an alternate method

r2b2
05-26-2008, 04:27 AM
Not sure what you mean by font folder? Perhaps you could elaborate on what you are looking for / using it for?

gamebuster5
05-26-2008, 06:57 AM
The folder on the server where the fonts reside, for example on a windows machine it would be C:\WINDOWS\Fonts\Century.ttf

r2b2
05-26-2008, 03:24 PM
Well Hostmonster runs on Linux servers and won't have a font folder. Besides, I don't know of any way of referencing a server's font folder for display of fonts. (i.e. if the client browser doesn't have the font, it won't show as that font).

Make sure you use the relevant font substitutions to degrade your fonts nicely...

pghcollectibles
05-27-2008, 11:07 AM
this may be slightly related. if i have a cool or fancy little font, is there a way to have the user install them automatically or is a font something that could easily contain a virus and therefor no one would even want to do that

r2b2
05-27-2008, 03:45 PM
I believe that the user would have to manually download & install the font - I don't think there's any automatic font download facility.

I'm not sure about viruses, but if you do offer it for download, make sure the license allows for it.

pghcollectibles
05-28-2008, 11:07 AM
ok thank you