[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pascal Sancho closed FOP-2452.
------------------------------
    Resolution: Invalid

this issue is a pure XSLT issue, and is out of the scope of FOP.

> the string-length($str) result is incorrect if $str contains japanese 
> character
> -------------------------------------------------------------------------------
>
>                 Key: FOP-2452
>                 URL: https://issues.apache.org/jira/browse/FOP-2452
>             Project: Fop
>          Issue Type: Bug
>         Environment: fop1.0
>            Reporter: zhangcui
>
> <xsl:variable name="aa">
>       <xsl:value-of select="string-length('1ffガメン') + 10" />
>         <xsl:value-of select="'mm'" />
> </xsl:variable>
> <fo:table>
> <fo:table-column column-number="1" />
> <fo:table-body>
>       <fo:table-row >
>               <fo:table-cell>
>                                       <fo:block >
>                                               <xsl:value-of select="'1ffガメン'" 
> /><xsl:value-of select="'H1'" />
>                                       </fo:block>
>                                       <fo:block start-indent="{$aa}">
>                                               <xsl:value-of select="'HH'" />
>                                       </fo:block>
>                               </fo:table-cell>
>                       </fo:table-row>
>               </fo:table-body>
>       </fo:table>
> result:
> 1ffガメンH1
> -------HH
> it should be like this
> 1ffガメンH1
> --------------HH
> actually,i want layout like this,"H1"and"HH" are Vertical alignment
> 1ffガメン---H1
> --------------HH
> how can the"H1"and"HH" become vertical alignment ?
> if anyone can help,thank you!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to