Me again.
I tried some changes in the source to find a solution for the prob...
I did the follow:
-ImageProxyPanel-
paintComponent(Graphics g)
{
getPageasImage(g); // changed the params
...
//g.paintImage(...) //commented out
}
- i think it was Java2DRenderer -
getPageasImage(Graphics gg)
{
//Graphics g = image.create.Graphics(); //commented out
Graphics g = gg; //changed the params
...
}
So it painted it directly to the panel, but the lines are still hiding when
i zoom.
Any helpful hints are still welcome.
I tried to investigate how the debuglines in the viewer are made, cause the
debuglines are painted correctly while scaling but i didnt get it.
Difficult to understand =)
Jeremias Maerki-2 wrote:
>
> Oh, I think you hit the nail on the head with that link. It is indeed so
> that the page is first painted to a bitmap which is then painted on the
> panel. So, it appears as if painting the page directly on the panel
> could potentially solve the problem.
>
> But what I don't know is whether there was a particular reason that we
> use (and cache) bitmaps to paint the pages instead of painting them
> directly. At first glance, it appears to be a waste of a lot of memory.
> If I were you I'd experiment with changing
> ImageProxyPanel.paintComponent().
>
> On 22.01.2007 13:47:05 Cheffe wrote:
>>
>> I found somethin but dont know exactly how to use the info =(
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4109583 Sun Bug
>> 4109583
>> Someone says if you us use transed graphics to draw line there is no prob
>> anymore.
>>
>>
>> Jeremias Maerki-2 wrote:
>> >
>> > It seems more like a general Java2D issue. Can you please search the
>> web
>> > for hints? I'm sure someone else has run into a similar problem before.
>> > From there we can see if we can find a solution. I don't know off-hand
>> > how to solve this.
>> >
>> > On 22.01.2007 10:54:39 Cheffe wrote:
>> >>
>> >> Has anyone also realized this issue in the AWTViewer? A hint is always
>> >> welcome =)
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Lines-are-hiding-in-AWTViewer-perhaps-Bug-in-Java2DRenderer-or-Java2D-itsself-tf3049992.html#a8563797
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]