LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2007, 08:23 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
TTF Files required for JpGraph


Hi

Im using JpGraph, and it works fine on my PC.
But on my linux server, I get
Code:
Font File
/usr/X11R6/lib/font/truetype/verdana.ttf is not readable or does not exist
Same if I replace it with arial.
PHP Code:
$graph->yaxis->SetFont(FF_VERDANAFS_NORMAL8);
$lineplot->value->SetFont(FF_ARIALFS_NORMAL9); 
Now, the server is a shared host and I dont think I would be able to upload the 2 missing ttf files to the specified folder.

Is there a workaround for this ?

Thanx
 
Old 02-11-2007, 05:06 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You can create the following directory in your $HOME
Code:
mkdir .fonts
put your .ttf files into it and update the font information cache by
Code:
fc-cache .fonts
This can be done without root privileges, since it scans only a directory placed in a user's home.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ttf-files Ephracis Linux - Newbie 3 05-03-2006 12:37 AM
Not able to find Latin 2 ttf files rohitjun Linux - General 0 05-03-2006 12:34 AM
Installing .ttf files via Mozilla for use in SuSE 9.1 matlocktm Linux - Software 2 07-10-2004 11:57 AM
jpgraph lynger Linux - Software 0 02-11-2004 08:19 PM
jpgraph lynger Linux - Software 4 02-08-2004 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration