[ 
https://issues.apache.org/jira/browse/FOP-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338208#comment-14338208
 ] 

Pascal Sancho commented on FOP-2452:
------------------------------------

you should 1st ask on XSLT user list (Cf. [1]), more appropriate for such 
question, and, if issue is confirmed, open an issue on relevant bugtracker, 
depending on what XSLT engine you are using.
Note that for convenience, FOP comes with Xalan.

[1] http://xmlgraphics.apache.org/fop/maillist.html#xslt-mulberry

> 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