Hi,

If someone would be interested in looking into this, I've reduced the test case 
to 
much smaller FO file - 29 lines, 3 pages in the generated PDF. Attached to this 
email.

Regards,
Alexey.


On Friday, September 13, 2013 03:23:35 PM Alexey Neyman wrote:


Hi FOP developers,

I am hitting the issue described in FOP issue 2106 [1]. I tried the workaround 
mentioned in that issue (remove line-height-shift-adjustment from fo:root) and 
while it helped the test FO attached to that issue, it didn't make any effect 
on the 
document I have.

I am also seeing other manifestations of the same issue - where a footnote is 
placed on the page before it is referenced, even though in other cases there is 
sufficient space at the bottom of the page to accommodate that footnote. As far 
as I see, it always happens when the reference to that footnote is placed on 
the 
first line of the page.

This is probably why the workaround in [1] worked for the bad-footnote.fo 
attached 
to that issue, as without line-height-shift-adjustment the reference to that 
footnote moves from the first line of the page down.

Any pointers as to what may be causing that issue and/or workarounds would be 
appreciated.

[1] https://issues.apache.org/jira/browse/FOP-2106

Regards,
Alexey.


<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; font-family="serif" font-size="10pt" text-align="justify" line-height="normal" font-selection-strategy="character-by-character">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="body" page-width="148mm" page-height="210mm" margin-top="0.5in" margin-bottom="0.5in" margin-left="1in" margin-right="1in">
      <fo:region-body margin-bottom="0.5in" margin-top="0.5in" column-gap="12pt" column-count="1"/>
      <fo:region-before region-name="xsl-region-before-odd" extent="0.4in"/>
      <fo:region-after region-name="xsl-region-after-odd" extent="0.4in"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="body" language="en">
    <fo:static-content flow-name="xsl-footnote-separator">
      <fo:block>
        <fo:leader color="black" leader-pattern="rule" leader-length="1in"/>
      </fo:block>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body" start-indent="4pc" end-indent="0pt">
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">be to facilitate the access to this content, ideally in a way that returns something to the artist.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">Again, the model here is the used book store. Once a book goes out of print, it may still be available in libraries and used book stores. But libraries and used book stores don't pay the copyright owner when someone reads or buys an out-of-print book. That makes total sense, of course, since any other system would be so burdensome as to eliminate the possibility of used book stores' existing. But from the author's perspective, this "sharing" of his content without his being compensated is less than ideal.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">The model of used book stores suggests that the law could simply deem out-of-print music fair game. If the publisher does not make copies of the music available for sale, then commercial and noncommercial providers would be free, under this rule, to "share" that content, even though the sharing involved making a copy. The copy here would be incidental to the trade; in a context where commercial publishing has ended, trading music should be as free as trading books.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">Alternatively, the law could create a statutory license that would ensure that artists get something from the trade of their work. For example, if the law set a low statutory rate for the commercial sharing of content that was not offered for sale by a commercial publisher, and if that rate were automatically transferred to a trust for the benefit of the artist, then businesses could develop around the idea of trading this content, and artists would benefit from this trade.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">This system would also create an incentive for publishers to keep works available commercially. Works that are available commercially would not be subject to this license. Thus, publishers could protect the right to charge whatever they want for content if they kept the work commercially available. But if they don't keep it available, and instead, the computer hard disks of fans around the world keep it alive, then any royalty owed for such copying should be much less than the amount owed a commercial publisher.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">The hard case is content of types A and B, and again, this case is hard only because the extent of the problem will change over time, as the technologies for gaining access to content change. The law's solution should be as flexible as the problem is, understanding that we are in the middle of a radical transformation in the technology for delivering and accessing content.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">So here's a solution that will at first seem very strange to both sides in this war, but which upon reflection, I suggest, should make some sense.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">Stripped of the rhetoric about the sanctity of property, the basic claim of the content industry is this: A new technology (the Internet) has harmed a set of rights that secure copyright. If those rights are to be protected, then the content industry should be compensated for that harm. Just as the technology of tobacco harmed the health of millions of Americans, or the technology of asbestos caused grave illness to thousands of miners, so, too, has the technology of digital networks harmed the interests of the content industry.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">I love the Internet, and so I don't like likening it to tobacco or asbestos.  But the analogy is a fair one from the perspective of the law.  And it suggests a fair response: Rather than seeking to destroy the Internet, or the p2p technologies that are currently harming content providers on the Internet, we should find a relatively simple way to compensate those who are harmed.</fo:block>
      <fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em">The idea would be a modification of a proposal that has been floated by Harvard law professor William Fisher.<fo:footnote><fo:inline font-family="serif,Symbol,ZapfDingbats" font-size="75%" font-weight="normal" font-style="normal" baseline-shift="super">11</fo:inline><fo:footnote-body font-size="8pt" font-weight="normal" font-style="normal" text-align="justify" start-indent="0pt" text-indent="0pt"><fo:block>Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos, qui ratione voluptatem sequi nesciunt, neque porro quisquam est, qui dolorem ipsum, quia dolor sit amet, consectetur, adipisci[ng] velit, sed quia non numquam [do] eius modi tempora inci[di]dunt, ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit, qui in ea voluptate velit esse, quam nihil molestiae consequatur, vel illum, qui dolorem eum fugiat, quo voluptas nulla pariatur?</fo:block></fo:footnote-body></fo:footnote> Fisher suggests a very clever way around the current impasse of the Internet.</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

Attachment: a.pdf
Description: Adobe PDF document

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to