Are you viewing in Chrome on Ubuntu? Missing spaces is a known problem
with that combination (with any PDF, not just Prawn generated PDFs).
Other readers display the spaces fine.
> Also, How do I generate the latex-like horizontal fill feature in
> prawn?
Brad implemented a Knuth text algorithm, but it may not work with the
current implementation of text.
There is an :align => :justify option in Prawn text, but it is just a
simple approach that expands the width of spaces as needed.
There are also character spacing and word spacing methods. Check out
the manual and the api.
-Daniel