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

Jason Harrop updated FOP-2374:
------------------------------

    Description: 
When you generate a PDF from FO such as:

<fo:block><fo:inline>of </fo:inline><fo:page-number-citation-last 
ref-id="page2"/></fo:block>

the whitespace between the word "of" and the page-number-citation-last element 
is lost.

In 
http://apache-fop.1065347.n5.nabble.com/preserving-a-trailing-space-in-inline-td40644.html
  Pascal Sancho 
diagnosed that the issue arises when a fo:page-number-citation-last (PNCL) 
comes after a fo:inline element
and no content comes after the PNCL.

He also identified a workaround: "Just add a character AFTER the PNCL element 
other than a regular white space"

I'm also attaching his test FO file


  was:
When you generate a PDF from FO such as:

<fo:block><fo:inline>of </fo:inline><fo:page-number-citation-last 
ref-id="page2"/></fo:block>

the whitespace between the word "of" and the page-number-citation-last element 
is lost.

In 
http://apache-fop.1065347.n5.nabble.com/preserving-a-trailing-space-in-inline-td40644.html
  Pascal Sancho identified a workaround:
"Just add a character AFTER the PNCL element other than a regular white space"

I'm also attaching his test FO file



> space missing before fo:page-number-citation-last in PDF output
> ---------------------------------------------------------------
>
>                 Key: FOP-2374
>                 URL: https://issues.apache.org/jira/browse/FOP-2374
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 1.1
>            Reporter: Jason Harrop
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: _test.fo
>
>
> When you generate a PDF from FO such as:
> <fo:block><fo:inline>of </fo:inline><fo:page-number-citation-last 
> ref-id="page2"/></fo:block>
> the whitespace between the word "of" and the page-number-citation-last 
> element is lost.
> In 
> http://apache-fop.1065347.n5.nabble.com/preserving-a-trailing-space-in-inline-td40644.html
>   Pascal Sancho 
> diagnosed that the issue arises when a fo:page-number-citation-last (PNCL) 
> comes after a fo:inline element
> and no content comes after the PNCL.
> He also identified a workaround: "Just add a character AFTER the PNCL element 
> other than a regular white space"
> I'm also attaching his test FO file



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to