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 <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]