In my ubuntu Natty, the rendering of my php script in google chrome displays without spaces between words in pdf. But if i view that on other OS like win7 or winxp with google chrome, the script will just display fine.
It turns out that the problem is i need an MS true type core fonts on my ubuntu. So here is the command:
apt-get install msttcorefonts
This is free anyway, you just have to agree with the EULA during installation.