DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31144>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31144

[patch][pdf] When adjacent borders are of different colors, join them along a 
dialgonal border.

           Summary: [patch][pdf] When adjacent borders are of different
                    colors, join them along a dialgonal border.
           Product: Fop
           Version: all
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If top border is red and left is green what should the corner be like? Red or green? 
It is not specified by any spec. By a good solution found in html browsers is to 
divide the corcer by diagonal and make upper triangle red and left green.

Here's java code that does this for PDF renderer.

_ it is a patch against fop-0_20_5 _

BUT: the patch contains a separate class BorderPainter, take it out and use in MAIN.

The code is quite simple but was a bit tricky and tiresome to write - so I want to 
share it

Reply via email to