Please find attached a new fo which defines the sidebar for the left
pages only. The blue column will show the four lines separating each
row, at least in Evince 3.4.0 (using poppler/cairo(0.18.4))
On 11/08/2012 03:19 PM, Luis Bernardo wrote:
Rob, I looked with more time at this issue and I think that my
previous statement that I was seeing lines where they should not be
was incorrect. I think they should be there because they are in the
*fo source!
It is true that no lines appear with Adobe, but they are visible both
with Mac's Preview and Linux's Evince. But the lines are only in the
column that does not spans rows, the one with the blue background. I
do not see them in the column that spans rows. More than that I do not
see any unexpected drawing commands in the PDF source.
Can you please explain again what lines are you seeing in the printer
output? Are they in the blue column or in the white column?
On 11/8/12 5:40 PM, Rob Sargent wrote:
We use iText as well as FOP in producing our printable product. Some
pages get a black background from iText (certain graphics look better
that way). When the black background is under the sidebar (as made
with the referenced sidebar.fo) the nuisance-some inter-cell lines
expose the black underlay. (Our fix is to not put the black under the
sidebar.)
In the original thread Jeremias Maerki wrote
I suspect it's once
more Adobe's anti-aliasing to be blamed. And this won't show up
in print,
BTW. To get rid of this on display, go to Acrobat's Preferences
Dialog,
select "Page Display" and enable "Enhance Thin Lines" (AR X) or
disable
"Smooth line Art". You may have to disable "Use 2D graphics
acceleration",
too. Nothing FOP can do at the moment. I've recently explained on
this
list what would need to be done to work around "Adobe's problem".
Since there is a path whereon they do show up in print, I wonder if
this suggested work-around should be revisited? It's not clear to me
that this is still out of FOP's hands?
Thank you for your indulgence,
rjs
On 11/05/2012 05:10 PM, Glenn Adams wrote:
remove elements/attrs until the problem goes away and only comes
back when adding the element/attr just removed (no matter what else
is removed)
On Tue, Nov 6, 2012 at 8:05 AM, Rob Sargent <rsarg...@xmission.com
<mailto:rsarg...@xmission.com>> wrote:
I have reviewed the sidebar.fo <http://sidebar.fo> and it really
cannot be substantially reduced. It simply fills the "outer
edge" of our pages - region-start or region end - with a narrow
two-column, five-row table stretching the length of the page.
The inner column is just spacer and the outer column gets the
section name(s) and number, a rule and a page number. The names
are supplied in a rotated svg (not included).
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xalan="http://xml.apache.org/xslt" xmlns:ec="xalan://com.amirsys.utilities.ElementConversion">
<fo:layout-master-set>
<fo:page-sequence-master master-name="sidebars">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="any" odd-or-even="odd" master-reference="sidebar-odd" blank-or-not-blank="any" />
<fo:conditional-page-master-reference page-position="any" odd-or-even="even" master-reference="sidebar-even" blank-or-not-blank="any" />
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
<fo:simple-page-master page-width="8.5in" page-height="11in" master-name="sidebar-even">
<fo:region-body margin-left="0.75in" />
<fo:region-start region-name="side-bar-left" extent="0.75in" />
</fo:simple-page-master>
<fo:simple-page-master page-width="8.5in" page-height="11in" master-name="sidebar-odd">
<fo:region-body margin-right="0.75in" />
<fo:region-end region-name="side-bar-right" extent="0.75in" />
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="sidebars" initial-page-number="30">
<fo:static-content flow-name="side-bar-left">
<fo:table width="0.75in" table-layout="fixed" border-collapse="collapse">
<fo:table-column column-width="0.5625in" />
<fo:table-column column-width="0.1875in" />
<fo:table-body>
<fo:table-row height="9.6875in">
<fo:table-cell border-top-width="1pt" background-color="#142850" border-right="0.5pt solid black">
<fo:block>
<fo:external-graphic width="0.5in" src="left.svg" height="9in" />
</fo:block>
</fo:table-cell>
<fo:table-cell number-rows-spanned="5" >
<fo:block />
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="#142850" border-right="0.5pt solid black">
<fo:block text-align="center" font-size="5pt" font-family="Optima">Â </fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="#142850" border-right="0.5pt solid black">
<fo:block text-align="center" font-size="22pt" font-family="Optima">Â </fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell background-color="#142850" border-right="0.5pt solid black">
<fo:block text-align="center" font-size="22pt" font-family="Optima">Â </fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row height="0.50in" display-align="before">
<fo:table-cell background-color="#142850" border-right="0.5pt solid black">
<fo:block text-align="center" font-size="10pt" font-family="any">
<fo:page-number />
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block break-after="page" />
<fo:block break-after="page" />
</fo:flow>
</fo:page-sequence>
</fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org