You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Guest User (JIRA)" <ji...@apache.org> on 2013/05/21 10:51:16 UTC

[jira] [Commented] (FOP-2247) Vertical table border differs width, when horizontal border is omitted

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

Guest User commented on FOP-2247:
---------------------------------

Well, is there a chance for this issue to be fixed?
                
> 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: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira