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_________________________________
<fo:block
        font-family="SimSun"   ----------------------------------------------> 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日的"例行新闻发布"会上称,近日,韩国驻中国大使馆告诉中方有关部门,三名人员进入韩国驻北京使馆,自称是朝鲜人,要求前往韩国。根据国际法及中国国内的有关法律,外国驻华使馆对第三国公民没有庇护权,中方要求韩国使馆将上述人员交由中方处理。(杜莉)
</fo:block>
--------------------------------------------------------------------------------------------------
   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

Attachment: face-6.gif
Description: GIF image

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to