Hi all,

I am using 20.4 version in Win 2K.  I am trying to use
en_GB to hyphenate long free text without spacing. 
However, I find there is a problem with the output
pdf.

I have made a sample.xml with a long free text as
shown in the attached document (sample3.xml) with
continuous character - 'AAAAAAAAAABBBBBBBBBBCCC......'
and so on.  I find that the appearance of the
characters become dis-order after the line breaking
(please find in the output.pdf).  I don't know whether
it is due to the xslt problem or fo problem.  Please
give me some suggestions.

Thank for your help in advance.

Sherlane


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

10 Sep 200310/09/200310-09-20032003-09-1010-SEP-2003
PPPriority payment13 Dec 200213/12/200213-12-20022002-12-1313-DEC-2002 1234567 1234 12345678HKD100.0012 12 12 1212 1 212 121 121 121 121HKHBAP111111111111222222222222 22222222222222222222222222222222222 999411B00NXQ11111111111111111111111111111111111 111111111111111111 2003-09-10-02.00.15.07778511111111111111111111AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDDEEEEEEEEEEFFFFFFFFFFGGGGGGGGGGHHHHHHHHHHIIIIIIIIIIJJJJJJJJJJKKKKKKKKKKLLLLLLLLLLMMMMMMMMMMNNNNNNNNNNOOOOOOOOOOPPPPPPPPPPQQQQQQQQQQRRRRRRRRRRSSSSSSSSSSTTTTTTTTTTUUUUUUUUUUVVVVVVVVVVWWWWWWWWWWXXXXXXXXXXYYYYYYYYYYZZZZZZZZZZaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffgggggggggghhhhhhhhhhiiiiiiiiiijjjjjjjjjjkkkkkkkkkkllllllllllmmmmmmmmmmnnnnnnnnnnooooooooooppppppppppqqqqqqqqqqrrrrrrrrrrssssssssssttttttttttuuuuuuuuuuvvvvvvvvvvwwwwwwwwwwxxxxxxxxxxyyyyyyyyyy
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";>  
  <xsl:template match="/">    
      <fo:root >
      <!-- defines page layout -->
      <fo:layout-master-set>
        <fo:simple-page-master master-name="simple" page-height="27.9cm" page-width="21cm" margin-top="1.5cm" margin-bottom="1.5cm" margin-left="1.5cm" margin-right="1.5cm">
          <fo:region-body margin-top="2.75cm" margin-bottom="3cm"/>          
          <fo:region-before extent="5cm"/>
          <fo:region-after extent="3cm"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="simple" initial-page-number="1">
        <fo:flow flow-name="xsl-region-body">
        
          <fo:table table-layout="fixed" padding-after="0.5cm">
            <fo:table-column column-width="17cm"/>
            <fo:table-body>
              <fo:table-row line-height="12pt">
                <fo:table-cell>
                  <fo:block text-align="left" font-size="08pt" font-family="Times">
                    <fo:wrapper>TEST 8y xslt + xml -> pdf </fo:wrapper>
                  </fo:block>
                </fo:table-cell>
              </fo:table-row>
              <fo:table-row>
                <fo:table-cell>
                  <fo:block hyphenate="true" language="en_GB" text-align="left" font-size="08pt" font-family="Times" white-space-collapse="false">
                    <fo:wrapper>
                      <xsl:for-each select="Advice/FreeText">
                        <xsl:apply-templates></xsl:apply-templates>
                      </xsl:for-each>
                    </fo:wrapper>
                       <!--xsl:value-of select="Advice/FreeText"/-->
                  </fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-body>
          </fo:table>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
  </xsl:template>
  
</xsl:stylesheet>      

Attachment: Output.pdf
Description: Output.pdf

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

Reply via email to