Re: the license of Chinese hyphenation pattern file
RamanaJV, the problem is : the FOP will not wrap the text when I have a very long sentence in a block or a table-cell, with the follow I will present a sample code. so I had to use hyphenation pattem file to solve it, so, that comes another question that there is NO Chinese hyphenation pattern file for FOP. I wonder whether there is another better way , if not, how can I use Chinese hyphenation file in FOP?? ___This content is Chinese, maybe you can not see that_ set the Chinese font family,and modify the config.xml to embed the font "SimSun" hyphenate="true" --> to use hyphenate hyphenation-push-character-count="2" hyphenation-remain-character-count="2" language="zh"> --> the problem is here, I miss the "zh" hyhpenate file in directory hyph ÖйúÈÕ±¨ÍøÕ¾ÏûÏ¢£ºÖйúÍâ½»²¿·¢ÑÔÈË¿×ȪÔÚ5ÔÂ28ÈÕµÄ"ÀýÐÐÐÂÎÅ·¢²¼"»áÉϳƣ¬½üÈÕ£¬º«¹úפÖйú´óʹ¹Ý¸æËßÖз½Óйز¿ÃÅ£¬ÈýÃûÈËÔ±½øÈ뺫¹úפ±±¾©Ê¹¹Ý£¬×Ô³ÆÊdz¯ÏÊÈË£¬ÒªÇóÇ°Íùº«¹ú¡£¸ù¾Ý¹ú¼Ê·¨¼°Öйú¹úÄÚµÄÓйط¨ÂÉ£¬Íâ¹úפ»ªÊ¹¹Ý¶ÔµÚÈý¹ú¹«ÃñûÓбӻ¤È¨£¬Öз½ÒªÇ󺫹úʹ¹Ý½«ÉÏÊöÈËÔ±½»ÓÉÖз½´¦Àí¡£(¶ÅÀò) -- With above , FOP will break the sentece to fix the layout, but will warn me that miss zh hyphenate file. if I not use hyphenate in it, the pdf will just appear "ÖйúÈÕ±¨ÍøÕ¾ÏûÏ¢£ºÖйúÍâ½»²¿·¢ÑÔÈË¿×ȪÔÚ5ÔÂ28ÈÕµÄ"ÀýÐÐÐÂÎÅ·¢²¼"»áÉϳƣ¬½ü" and the after disappear. === 2002-07-24 Wrote £º=== >Stoneson, > This is happening even with the normal english also. Suppose, u have >a text in the block of a table-cell and the text is not having any words ( >It is a single world). FOP is not wrapping the word and the text is moving >on the next cell. How to solve this problem? > >Ramana. > >-Original Message- >From: stoneson [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, July 24, 2002 5:05 PM >To: [EMAIL PROTECTED] >Subject: Re: Re: Re: the license of Chinese hyphenation pattern file > > >Peter S. Housel, > >Thanks Peter, I have studyed the described in >http://www.unicode.org/unicode/reports/tr14/ . but I still do not get the >point to. would you please to tell me in detail?? > >=== 2002-07-23 Wrote £º=== > >>"stoneson" <[EMAIL PROTECTED]> wrote: >> >>> the problem is : when I use to write a part of Chinese >>> in the block or table-cell, the Chinese text could not broken >>> in the end of line. so I use the hyhens to fixed it, the problem solved, >>> but there is not hyhens file of Chinese for FOP, I wonder is there any >>good >>> way to make the text broken if I would not use hyhens.?? >> >>What some people do is to put a space character (" ") after every Chinese >>character. It spaces out the text a little, but at least FOP knows where >it >>can break the lines, and it looks better than hyphens (which can be >mistaken >>for the number "1"). >> >>At some point the FOP developers need to implement the Unicode Line >Breaking >>Algorithm (described in http://www.unicode.org/unicode/reports/tr14/) so >>that FOP can break lines of Chinese/Japanese/etc. without needing extra >>spaces. >> >>-Peter- >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, email: [EMAIL PROTECTED] > >= = = = = = = = = = = = = = = = = = = = > > stoneson > [EMAIL PROTECTED] > 2002-07-24 > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = stoneson [EMAIL PROTECTED] 2002-07-25 face-6.gif Description: GIF image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Re: Re: the license of Chinese hyphenation pattern file
Stoneson, This is happening even with the normal english also. Suppose, u have a text in the block of a table-cell and the text is not having any words ( It is a single world). FOP is not wrapping the word and the text is moving on the next cell. How to solve this problem? Ramana. -Original Message- From: stoneson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 5:05 PM To: [EMAIL PROTECTED] Subject: Re: Re: Re: the license of Chinese hyphenation pattern file Peter S. Housel, Thanks Peter, I have studyed the described in http://www.unicode.org/unicode/reports/tr14/ . but I still do not get the point to. would you please to tell me in detail?? === 2002-07-23 Wrote £º=== >"stoneson" <[EMAIL PROTECTED]> wrote: > >> the problem is : when I use to write a part of Chinese >> in the block or table-cell, the Chinese text could not broken >> in the end of line. so I use the hyhens to fixed it, the problem solved, >> but there is not hyhens file of Chinese for FOP, I wonder is there any >good >> way to make the text broken if I would not use hyhens.?? > >What some people do is to put a space character (" ") after every Chinese >character. It spaces out the text a little, but at least FOP knows where it >can break the lines, and it looks better than hyphens (which can be mistaken >for the number "1"). > >At some point the FOP developers need to implement the Unicode Line Breaking >Algorithm (described in http://www.unicode.org/unicode/reports/tr14/) so >that FOP can break lines of Chinese/Japanese/etc. without needing extra >spaces. > >-Peter- > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = stoneson [EMAIL PROTECTED] 2002-07-24 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re: Re: the license of Chinese hyphenation pattern file
Peter S. Housel, Thanks Peter, I have studyed the described in http://www.unicode.org/unicode/reports/tr14/ . but I still do not get the point to. would you please to tell me in detail?? === 2002-07-23 Wrote £º=== >"stoneson" <[EMAIL PROTECTED]> wrote: > >> the problem is : when I use to write a part of Chinese >> in the block or table-cell, the Chinese text could not broken >> in the end of line. so I use the hyhens to fixed it, the problem solved, >> but there is not hyhens file of Chinese for FOP, I wonder is there any >good >> way to make the text broken if I would not use hyhens.?? > >What some people do is to put a space character (" ") after every Chinese >character. It spaces out the text a little, but at least FOP knows where it >can break the lines, and it looks better than hyphens (which can be mistaken >for the number "1"). > >At some point the FOP developers need to implement the Unicode Line Breaking >Algorithm (described in http://www.unicode.org/unicode/reports/tr14/) so >that FOP can break lines of Chinese/Japanese/etc. without needing extra >spaces. > >-Peter- > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = stoneson [EMAIL PROTECTED] 2002-07-24 face-6.gif Description: GIF image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re: the license of Chinese hyphenation pattern file
"stoneson" <[EMAIL PROTECTED]> wrote: > the problem is : when I use to write a part of Chinese > in the block or table-cell, the Chinese text could not broken > in the end of line. so I use the hyhens to fixed it, the problem solved, > but there is not hyhens file of Chinese for FOP, I wonder is there any good > way to make the text broken if I would not use hyhens.?? What some people do is to put a space character (" ") after every Chinese character. It spaces out the text a little, but at least FOP knows where it can break the lines, and it looks better than hyphens (which can be mistaken for the number "1"). At some point the FOP developers need to implement the Unicode Line Breaking Algorithm (described in http://www.unicode.org/unicode/reports/tr14/) so that FOP can break lines of Chinese/Japanese/etc. without needing extra spaces. -Peter- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re: the license of Chinese hyphenation pattern file
Peter S. Housel, the problem is : when I use to write a part of Chinese in the block or table-cell, the Chinese text could not broken in the end of line. so I use the hyhens to fixed it, the problem solved, but there is not hyhens file of Chinese for FOP, I wonder is there any good way to make the text broken if I would not use hyhens.?? === 2002-07-19 £º=== >On Thu, 2002-07-18 at 22:58, stoneson wrote: >> hello: >> >> who can help me to make the license of Chinese hyphenation pattern file, such as >> the following hyphenation patterns are part of the Fop distribution >> >> da Danish >> ... > >Why? I'm sure you know that Chinese doesn't use hyphens, and that >Chinese text can be broken between any two characters. Some typesetters >don't even bother to suppress line breaks in front of punctuation >marks. A hyphenation file would do no good at all. What's needed is >for FOP to implement http://www.unicode.org/unicode/reports/tr14/ >instead. > >-Peter- > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] = = = = = = = = = = = = = = = = = = = = stoneson [EMAIL PROTECTED] 2002-07-23 face-6.gif Description: GIF image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]