A long time ago, for an old (0.16) version of FOP:
http://jpfop.sourceforge.net/. But this has fallen
out of date with both the maintenance and redesign
versions of FOP. Currently only roomaji works. ;)
Glen
--- Karl Critz <[EMAIL PROTECTED]> wrote:
> Has anyone ever successfully converted japanese text
> to PDF using FOP?
>
> I have tried converting the attached XML file to
> PDF. The resulting
> file contains "#####" instead of japanese text, as
> shown in the
> screenshot. Interestingly, the navigation hierarchy
> on the left does
> use the proper characters.
>
> details:
> * File is DocBook XML encoded in shift_jis
> * File contains katagana (full and half width) and
> kanji
> * Using FOP 0.20.5
> * Using Saxon as XSLT processor (also tried with
> Xalan)
> * Using Norm's docbook stylesheets v1.64.1 (slightly
> customized)
> * Using a japanese PDF reader
>
> For what it's worth, the same file processes just
> fine through Saxon to
> HTML and JADE to RTF.
>
> Does anyone have any idea why this is not working?
>
>
> -k
>
>
>
> ATTACHMENT part 2 application/octet-stream
name=tja.pdf
> <?xml version="1.0" encoding="shift_jis"?>
> <!--<!DOCTYPE book PUBLIC '-//OASIS//DTD DocBook
> V4.2//EN'>-->
> <book lang="ja">
>
> <title>���ݒ肳��Ă��܂���</title><?dbhtml
> filename="tja.html"?>
> <bookinfo>
>
> <title>���ݒ肳��Ă��܂���</title>
>
> <subtitle>�ިڸ��</subtitle>
> <author>
>
> <firstname>���ݒ肳��Ă��܂���</firstname>
> </author>
> <pubdate>10-Jun-2004 09:19:56</pubdate>
> <copyright>
>
> <year>���ݒ肳��Ă��܂���</year>
> </copyright>
> <abstract>
>
> <para>���ݒ肳��Ă��܂���</para>
> </abstract>
> <legalnotice>
>
> <para>���ݒ肳��Ă��܂���</para>
> </legalnotice>
> </bookinfo>
> <chapter><?dbhtml filename="tja-001.html"?>
>
> <title>���ݒ肳��Ă��܂���</title>
> <table colsep="1" frame="all" pgwide="1"
> rowsep="1">
>
> <title>���ݒ肳��Ă��܂���</title>
> <tgroup cols="4">
> <colspec colnum="1" colwidth="1*"/>
> <colspec colnum="2" colwidth="1*"/>
> <colspec colnum="3" colwidth="1*"/>
> <colspec colnum="4" colwidth="1*"/>
> <thead>
> <row>
> <entry>0.95013</entry>
> <entry>0.8913</entry>
> <entry>0.82141</entry>
> <entry>0.92181</entry>
> </row>
> </thead>
> <tbody>
> <row>
> <entry>0.23114</entry>
> <entry>0.7621</entry>
> <entry>0.4447</entry>
> <entry>0.73821</entry>
> </row>
> <row>
> <entry>0.60684</entry>
> <entry>0.45647</entry>
> <entry>0.61543</entry>
> <entry>0.17627</entry>
> </row>
> <row>
> <entry>0.48598</entry>
> <entry>0.018504</entry>
> <entry>0.79194</entry>
> <entry>0.40571</entry>
> </row>
> </tbody>
> </tgroup>
> </table>
> </chapter>
> <chapter><?dbhtml filename="tja-002.html"?>
>
> <title>���܂ޕϐ�����\��</title>
> <formalpara>
> <title>kanji</title>
> <para>���{�H</para>
> </formalpara>
> <formalpara>
>
> <title>����������������</title>
>
> <para>����������</para>
> </formalpara>
> <formalpara>
> <title>katagana full-width</title>
> <para>�e�X�g</para>
> </formalpara>
> <formalpara>
> <title>katagana half-width</title>
> <para>ý�</para>
> </formalpara>
> <sect1><?dbhtml filename="tja-003.html"?>
>
> <title>�ިڸ��</title>
> <formalpara><title>Name</title><para>figure
> �N����</para>
>
>
</formalpara><formalpara><title>Description</title><para>model
> �N����</para></formalpara>
> </sect1>
> </chapter>
> </book>>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]