[
https://issues.apache.org/jira/browse/FOP-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584175#comment-14584175
]
Jan Tošovský commented on FOP-2247:
-----------------------------------
I've just filled https://code.google.com/p/chromium/issues/detail?id=500023 and
also sent similar wording to Adobe
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform (there is not a
tracker available). Fortunately, in Firefox (pdf.js) borders are rendered
correctly.
I do not expect Adobe will change a default behaviour, but the signifficance of
PDF viewer IMHO decreases nowadays in favor of native browser rendering. So
please star this Chrome issue to move things forward :-)
Just a small warning, Chrome's PDF plugin team is understaffed for long time.
> Vertical table border differs width, when horizontal border is omitted
> ----------------------------------------------------------------------
>
> Key: FOP-2247
> URL: https://issues.apache.org/jira/browse/FOP-2247
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 1.1
> Environment: Windows 7, JRE1.6
> Reporter: Guest User
> Priority: Minor
>
> Following description applies to PDF view.
> When using a table grid to place contents on a page, the border width of the
> cell borders differ in their width. This happens when both, top and bottom
> border, are omitted. Here is an example, which nicely demonstrates the
> effect. See the comment in the code to know, which borders will be painted
> wrong:
> <?xml version="1.0"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <fo:layout-master-set>
> <fo:simple-page-master master-name="content"
> page-width="210mm" page-height="297mm" margin="1cm">
> <fo:region-body/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="content">
> <fo:flow flow-name="xsl-region-body">
> <fo:table table-layout="auto">
> <fo:table-header>
> <fo:table-row>
> <fo:table-cell border="medium solid black"
> border-bottom="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> <fo:table-cell border="medium solid black"
> border-bottom="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> <fo:table-cell border="medium solid black"
> border-bottom="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell border="medium solid black"
> border-top="none" border-bottom="none"><fo:block
> white-space-treatment="preserve"> </fo:block></fo:table-cell>
> <!-- vertical borders of the following cell
> appear thicker then the rest: -->
> <fo:table-cell border="medium solid black"
> border-top="none" border-bottom="none"><fo:block
> white-space-treatment="preserve"> </fo:block></fo:table-cell>
> <fo:table-cell border="medium solid black"
> border-top="none" border-bottom="none"><fo:block
> white-space-treatment="preserve"> </fo:block></fo:table-cell>
> </fo:table-row>
> <fo:table-row>
> <fo:table-cell border="medium solid black"
> border-top="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> <fo:table-cell border="medium solid black"
> border-top="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> <fo:table-cell border="medium solid black"
> border-top="none"><fo:block white-space-treatment="preserve">
> </fo:block></fo:table-cell>
> </fo:table-row>
> </fo:table-header>
> <fo:table-body>
> <fo:table-row>
>
> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>
> <fo:table-cell><fo:block></fo:block></fo:table-cell>
>
> <fo:table-cell><fo:block></fo:block></fo:table-cell>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
> This can be seen on screen and on paper, as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)