Installing Fonts

ciderhelm

New Member
This may not belong here. I'm having difficulty finding a way to install a new font to the server, and a Google search didn't help. I have a script which needs to render to an image, and I'd strongly prefer to start using a different font in the PHP code, but am not sure how to go about installing one.

Can this be done via cPanel?
 
You simply upload the font to the server and specify its location in the code. Assuming you're using ImageTTFText, you'd pass it in the second parameter.
 
Pretty much. Unless they're freeware fonts, you should place them somewhere outside your document root so you aren't inadvertently accused of distributing illegal copies of licensed software.
 
Top