[
https://issues.apache.org/jira/browse/FOP-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604886#comment-16604886
]
Jan Tošovský commented on FOP-2501:
-----------------------------------
I am attaching example derived from
fop/test/layoutengine/standard-testcases/change-bar_style.xml. Btw this test
doesn't fail as the contained XPath returns the correct value (the first change
bar should be hidden). However, this value is later rendered incorrectly (and
this is out of the scope of this layout test).
> [PATCH] Missing support for border 'none'
> -----------------------------------------
>
> Key: FOP-2501
> URL: https://issues.apache.org/jira/browse/FOP-2501
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: trunk
> Reporter: Jan Tošovský
> Priority: Minor
> Attachments: FOP-2501.patch, change-bar-style.fo, change-bar-style.pdf
>
>
> drawBorderLine2 method in PDFGraphicsPainter.java doesn't check for 'none'
> value so this border style is rendered using a default 'solid' style. The fix
> is quite straightforward:
> ...
> +case Constants.EN_NONE:
> case Constants.EN_HIDDEN:
> break;
> ...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)