PDF with Arabic

Dear Tobin,

You can use ArabTex, which is a Latex-based system, to typeset Arabic. This
is
a link to a description of it:

_http://home.uchicago.edu/~narusso/comp/arabic/_
(http://home.uchicago.edu/~narusso/comp/arabic/)

Use it like Andreas recommended to use Latex from Ruby and generate PDFs.
Latex has built-in ways to cut off words at the end of lines and spacings
between question
marks etc. that are special for each language. Also, some languages use
special characters and accents. I think Danish has circles on top of 'a' and
'A'.
There are special ways for Latex to produce these, and Latex will
automatically
generate (some) fonts of different type and size to do that.
You can find reference on that online in the "Not so short guide to
Latex2\epsilon":

_http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf_
(http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf)

which is a self contained, but not so short introduction and reference.
Best regards,

Axel