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�յ�"�������ŷ���"���ϳƣ����գ�����פ�й���ʹ�ݸ����з��йز��ţ�������Ա���뺫��פ����ʹ�ݣ��Գ��dz����ˣ�Ҫ��ǰ�����������ݹ��ʷ����й����ڵ��йط��ɣ����פ��ʹ�ݶԵ���������û�бӻ�Ȩ���з�Ҫ�󺫹�ʹ�ݽ�������Ա�����з�������(����)
</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