ttf font uploading problem?

Reply

Join Date: Aug 2008
Posts: 159
Reputation: sarithak is an unknown quantity at this point 
Solved Threads: 6
sarithak sarithak is offline Offline
Junior Poster

ttf font uploading problem?

 
0
  #1
Sep 22nd, 2008
Hi frnds..

in my project i used ttf font ...now i uploading project through FTP...
but total project is working fine..but,the font is not working when uploading the project into ftp...whats the problem? that font also included in my FTP..
plz help me asap..i am struggling from last 10 days....

Thanks in Advance..
My best wishes ... from my soul ... for everyone!
Keep Smiling....Never Depress
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 525
Reputation: Will Gresham is on a distinguished road 
Solved Threads: 86
Sponsor
Will Gresham's Avatar
Will Gresham Will Gresham is offline Offline
Posting Pro

Re: ttf font uploading problem?

 
0
  #2
Sep 22nd, 2008
Have you cheked where the server is looking for the font and that the ttf file is in the correct directory on the server?
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 2
Reputation: rshay is an unknown quantity at this point 
Solved Threads: 0
rshay rshay is offline Offline
Newbie Poster

Re: ttf font uploading problem?

 
0
  #3
Sep 23rd, 2008
Originally Posted by sarithak View Post
Hi frnds..

in my project i used ttf font ...now i uploading project through FTP...
but total project is working fine..but,the font is not working when uploading the project into ftp...whats the problem? that font also included in my FTP..
plz help me asap..i am struggling from last 10 days....

Thanks in Advance..
Ok, correct me if I'm misunderstanding your problem. Here is my take on it.
You created an application, using a non-standard ttf font, and wish for that font to display to users of your application.

The problem lies with the fact that you cannot display non-standard fonts to an end user if they do not exist on their computer. AFAIK, there is no way to force them to download it either. (I have heard of something that Microsoft had touched on previously but I'm not sure if it was ever implemented. Regardless, that would be browser specific.)

I actually just had a project where this came up as a requirement for obtaining the contract. The client wanted about 90% of the application displayed in a custom font. >.<

What I ended up doing was using GD to convert a string of text to an image. So instead of inserting plain text, wherever the custom font was needed, a call was made to a function that converted text to an image and displayed that instead.

Yes, it does add some additional overhead to page loads, and processing. However, the client was 100% adamant that this was a required feature. Sometimes we have to do things we don't like. I won't tell if you wont.

This may or may not fit your situation, but I hope it's at least of some use.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum


Views: 457 | Replies: 2
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC