My guess is the individual words are placed in the PDF file, all independently. Spaces are not included.
You could call it a bug..L alright, it is. But I'm expecting the same problem to occur if you try to get the text out of the PDF file in another way, for example using copy/paste.
Comment on Re: words are merging while extracting the text from pdf