> ???? wrote:
>>       I want to convert the DocBook to pdf document in XXE,But When the
>> DocBook contains chinese information,The output pdf document will not
>> correctly display.How can I deal with the problem?
>
> We don't know. We are currently investigating this problem.
>
> To our surprise, we have discovered a few months ago that, unlike HTML
> and XML, PDF (and Acrobat Reader) is a format which cannot be easily
> internationalized. Solving the question you ask is currently on the top
> of our TODO list because this problem happens to all non-Latin1 users
> (that is, not only to Chinese users but also to Russian users, Czech
> users, etc).

I'm not clear exactly what the problem with the method you're using is,
but we've had very good results in producing PDFs of DocBook documents
containing Bengali and Urdu text (Urdu uses the Nasta'liq script, which is
a particularly difficult kind of Arabic script to typeset).  However, our
method does not use the usual FOP/XEP route: we've been using a program
called dblatex (dblatex.sourceforge.net) for the conversion.  Dblatex
produces a LaTeX document, or in our case a XeTeX document, where XeTeX
(scripts.sil.org/xetex) is a Unicode-aware version of the LaTeX formatting
program.  We then run XeTeX to produce the PDF.

You might also have a look at
http://wiki.docbook.org/topic/DocBookPublishingTools.

   Mike Maxwell
   CASL/ U MD


Reply via email to