xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabrizio Caldas <fabriziocal...@gmail.com>
Subject Re: Overflowing of Japanese/Chinese Chars
Date Wed, 02 Nov 2005 11:31:25 GMT
J,

You are right about what I meant as text overflows.

I read the Japanese and Chinese text from a properties file, which is
encoded in UTF-8.

Can I put the zero width space (U+200B) directly on the properties
file or do I have to do it while generating the object to convert it
to PDF?

2005/11/1, J.Pietschmann <j3322ptm@yahoo.de>:
> Fabrizio Caldas wrote:
> > I create a PDF using FOP, when I create a PDF in English the text works fine.
> > But when I create the PDF in Japanese and Chinese the text overflows.
> >
> > Has anyone had experience with this problem?
>
> It depends on what you mean by "the text overflows" and on the
> content. I guess you mean that text overruns the line end because
> there are no (ASCII) white spaces in the line. FOP 0.20.5 can't
> generate line breaks for east-asean languages written without spaces
> delimiting words. In this case the workaround is to insert zero width
> spaces (U+200B) in appropriate places, preferably while authoring the
> content.
>
> J.Pietschmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message