| | |
ttf font uploading problem?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 159
Reputation:
Solved Threads: 6
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..
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
Keep Smiling....Never Depress
•
•
Join Date: Sep 2008
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
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..
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.
![]() |
Other Threads in the PHP Forum
- Previous Thread: Convert a string into an image?
- Next Thread: combobox problems
Views: 457 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery js limit link login loop mail mediawiki menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql stored structure subdomain syntax system table tutorial update updates upload url validation validator variable video web xml youtube





