a83d Incompatability in 4.1.2 over 4.0.x - Writing PHP
Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Incompatability in 4.1.2 over 4.0.x

Posted by admin (Graham Ellis), 28 August 2002
A warning of something I've stumbled across.   If you use True Type fonts in your PHP (you might do this if you're generating graphic images on the fly), then there's a slight incompatability in release 4.1.2 over release 4.0.x

In release 4.0.x, you can specify a relative path to the font file, and PHP will look in the current directory for the .ttf file.   In release 4.1.2, you need to give the complete path to the font file even if it's in the current directory.  I'm just investigating this further, but I rather suspect there's some sort of "path to font" that has had "." removed from it.   In the short term, I'm simply giving full absolute paths to the ttf files.

Problem first noticed on my test server when upgraded to Redhat Linux 7.3; have also just noticed it on our ISP (Hurricane Electric) who I know are very popular with our customers, and who host our own web site (including this board).



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2013: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho
0