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