Looking at the PDF in a hex editor I can't tell whether the spaces are there or not because I can't see the plain text. I guess it is maybe Unicode or something. It's actually the PDF documentation for prototype.js that I was experimenting with. I'll send it along.
For interest, Adobe Reader gets the spaces when copying to the clipboard.
Colin.