Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


PHP GD Font render difference stuff?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
Navi



Joined: 20 May 2008
Posts: 18

Posted: Tue May 20, 2008 3:20 am    Post subject: PHP GD Font render difference stuff?  

Hello,

I'm not new to the Linux scene, but a bit new to running my own webserver. Eventually I took VirtualMin to setup sites.

I transferred from my old host which uses apache 1.3 and php 5.2, I'm running Debian Etch myself on a VPS with apache2 and php5.0.

Only I get this difference with rendering text on my site :

tp://img228.imageshack.us/my.php?image=blaahwz5.jpg

Anybody know what I should adjust? Probably a setting somewhere.. gonna try installing another OS in the mean time anyway.

- Edit -

Installed CentOS now, the same as my old host and that does seem to work properly.
Back to top  
pip



Joined: 03 Jun 2008
Posts: 2

Posted: Wed Jun 04, 2008 2:28 pm    Post subject:  

I'm just guessing here, but perhaps Debian didn't come with the right fonts pre-installed?
Back to top  
Navi



Joined: 20 May 2008
Posts: 18

Posted: Wed Jun 04, 2008 4:18 pm    Post subject:  

Could be, but I uploaded and used my own fonts. So there shouldn't be any difference..
Back to top  
hybinet



Joined: 02 May 2008
Posts: 52

Posted: Wed Jun 04, 2008 5:26 pm    Post subject:  

Neither CentOS 4 nor Debian Etch is a particularly cutting edge distro. This could be due to a bug fix that changed the behavior of some obscure function. Have you tried installing on your Debian box exactly the same version of LAMP as the one that's on CentOS? Of course it's always best to use the latest stable versions, but just try if that changes anything.........
Back to top  
Navi



Joined: 20 May 2008
Posts: 18

Posted: Thu Jun 05, 2008 12:17 am    Post subject:  

Could be a minor bugfix yeah, didn't really try that thoroughly. CentOS 4 and 5 both worked the way I expected. GD Image library was on CentOS, Debian and Fedora the same versions. And I had apache2, php5 and mysql5 on them all too.

I wouldn't know what caused the difference, but as I already edited in my first post. I'm using CentOS 5 now and I'm pretty much happy with it. Just had to get used to it a bit :P
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1