zhangcui (JIRA | 27 Feb 04:29 2015
Picon

[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


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

zhangcui commented on FOP-2452:
-------------------------------

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

> 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 >
(Continue reading)

zhangcui (JIRA | 27 Feb 04:29 2015
Picon

[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


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

zhangcui commented on FOP-2452:
-------------------------------

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

> 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 >
(Continue reading)

zhangcui (JIRA | 27 Feb 04:28 2015
Picon

[jira] [Created] (FOP-2453) fo:list-item-label Automatically wrap when it contains japanese character

zhangcui created FOP-2453:
-----------------------------

             Summary: fo:list-item-label Automatically wrap when it contains japanese character
                 Key: FOP-2453
                 URL: https://issues.apache.org/jira/browse/FOP-2453
             Project: Fop
          Issue Type: Bug
            Reporter: zhangcui

<xsl:variable name="aa">
<xsl:value-of select="string-length('1ff章2') + 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:list-block>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>
<xsl:value-of select="'1ff章2'" />
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="{$aa}">
<fo:block><xsl:value-of select="'HH1'" /></fo:block>
</fo:list-item-body>
(Continue reading)

Luis Bernardo (JIRA | 26 Feb 12:58 2015
Picon

[jira] [Updated] (FOP-2250) Arabic characters are not connected on PCL


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

Luis Bernardo updated FOP-2250:
-------------------------------
    Attachment: fop-courier.xconf
                arabic-trunk.pdf
                arabic-trunk.pcl

The output from trunk (arabic-trunk.pcl) is attached, together with its conversion to pdf. Is the out put
wrong? The fop.xconf attached to the issue has no fonts configured so you should not expect much if you use
it... Attached is fop-courier.xconf which has the font configured.

> Arabic characters are not connected on PCL
> ------------------------------------------
>
>                 Key: FOP-2250
>                 URL: https://issues.apache.org/jira/browse/FOP-2250
>             Project: Fop
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows 7, x64
>            Reporter: Konrad Gajewski
>         Attachments: PCL_issue.jpg, arabic-trunk.pcl, arabic-trunk.pdf, arabic.fo, arabic.pcl,
arabic.pcl.pdf, fop-courier.xconf, fop.xconf, test2.pdf
>
>
> Hi, 
> When I try to print document on HP printer, Arabic characters are not printed correctly.
(Continue reading)

Pascal Sancho (JIRA | 26 Feb 11:35 2015
Picon

[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


    [
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" />
(Continue reading)

Pascal Sancho (JIRA | 26 Feb 11:31 2015
Picon

[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


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

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

oups, big fingers...

> 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 >
(Continue reading)

Pascal Sancho (JIRA | 26 Feb 11:30 2015
Picon

[jira] [Closed] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


     [
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 >
(Continue reading)

Krishankant singh (JIRA | 26 Feb 11:25 2015
Picon

[jira] [Commented] (FOP-2333) knowing Multi threading issues for FOP 1.1


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

Krishankant singh commented on FOP-2333:
----------------------------------------

We cached the Teamplates Object for this project and saw a dramatic reduction in CPU usage and it brought
stability to the application as well. The CPU usage was halved after implementing this in production environment.

Refer to-
http://www.onjava.com/pub/a/oreilly/java/news/javaxslt_0801.html
http://docstore.mik.ua/orelly/xml/jxslt/ch09_03.htm

> knowing Multi threading issues for FOP 1.1
> ------------------------------------------
>
>                 Key: FOP-2333
>                 URL: https://issues.apache.org/jira/browse/FOP-2333
>             Project: Fop
>          Issue Type: Improvement
>          Components: unqualified
>    Affects Versions: 1.1
>         Environment: Production
>            Reporter: Krishankant singh
>            Priority: Critical
>              Labels: performance
>             Fix For: 1.1
>
(Continue reading)

Gregor Berg (JIRA | 26 Feb 11:18 2015
Picon

[jira] [Updated] (FOP-2450) [PATCH] preprocessing for table-layout="auto"


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

Gregor Berg updated FOP-2450:
-----------------------------
    Attachment: 2015-02-26-auto-fop-1_1v2.patch

*V2* (2015-02-26-auto-fop-1_1v2.patch):
- tables contained in other tables propagate their width requirements (fixes main problem of V1)
- for now, at least one specific type of ExternalGraphic propagates a suitable width requirement
- removed redundant code

> [PATCH] preprocessing for table-layout="auto"
> ---------------------------------------------
>
>                 Key: FOP-2450
>                 URL: https://issues.apache.org/jira/browse/FOP-2450
>             Project: Fop
>          Issue Type: New Feature
>          Components: fo/unqualified
>    Affects Versions: 1.1
>         Environment: tested on Win7 (JDK 7) and Mac OS 10.9 (JDK8)
>            Reporter: Gregor Berg
>              Labels: patch
>             Fix For: 1.1
>
>         Attachments: 2015-02-20-fop-1_1v1.patch, 2015-02-26-auto-fop-1_1v2.patch,
auto-table-in-fixed-table-in-auto-table.xml,
auto-table-in-fixed-table-in-auto-table.xml.pdf,
(Continue reading)

zhangcui (JIRA | 26 Feb 10:59 2015
Picon

[jira] [Updated] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


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

zhangcui updated FOP-2452:
--------------------------
    Description: 
<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
(Continue reading)

zhangcui (JIRA | 26 Feb 10:56 2015
Picon

[jira] [Updated] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character


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

zhangcui updated FOP-2452:
--------------------------
    Description: 
<xsl:variable name="aa">
	<xsl:value-of select="string-length('1ff{H1}ガメン') + 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{H1}ガメン'" /><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}ガメンH1
(Continue reading)


Gmane