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 "Bernd Köster (Jira)" <ji...@apache.org> on 2022/02/08 14:31:00 UTC

[jira] [Commented] (FOP-1330) Thin Lines in AWTRenderer are not drawn

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

Bernd Köster commented on FOP-1330:
-----------------------------------

Still present in current versions.

> Thin Lines in AWTRenderer are not drawn
> ---------------------------------------
>
>                 Key: FOP-1330
>                 URL: https://issues.apache.org/jira/browse/FOP-1330
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/awt
>    Affects Versions: 0.93
>         Environment: Operating System: All
> Platform: All
>            Reporter: cheffe
>
> The whole story starts here:
> http://www.nabble.com/Lines-are-hiding-in-AWTViewer-perhaps-Bug-in-
> Java2DRenderer-or-Java2D-itsself-tf3049992.html
> My conclusion in short words.
> Try using borders.fo from the samples with the AWTRenderer.
> On Page 4 you see at 100% Scale that the blue lines of the table are not drawn 
> correctly. If you play a little bit with the scaling the borders are drawn 
> different but not at all. If the scaling factor is big enough the lines are 
> drawn correct. Somethin about > 230%
> The weird thing is that if you use the debug action in the viewer that shows 
> lines around everywhere, this lines are shown correctly no matter what scaling 
> factor is set.
> The print is all fine its only a prob with the layout.
> So its possible a bug in Java2d itsself perhaps with lines that are less a 
> pixel high. Could be somethin with thin line piplines and bufferedimage!?
> Here a link http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4109583 
> By the way the pages in the AWTViewer are shown from biggest to smallest.
> (9...0) would be great to do it the other way around. =)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)