Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » chart scaling problem
chart scaling problem [message #488878] Wed, 30 September 2009 15:07 Go to next message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
Hello,

I am using paperclips to print pages and show previews. Printing works well,
but when previewing the transformation stored in the GC
(gc.get/setTransform) is not respected. Instead everything is painted
unscaled from the untranslated origin of the GC. This seems to be a bug. Any
help is greatly appreciated.

Enrico
Re: chart scaling problem (more precise problem description) [message #488932 is a reply to message #488878] Wed, 30 September 2009 18:12 Go to previous messageGo to next message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
Hello again,

to be more precise:

A printer image GC is initiliazed with 300 dpi and scaled to fit into
the screen and thus having a scaling factor of about 0.14... . Birt
draws a chart on the printer image GC without any scaling/translation
and therefore - after drawing the image on the screen - out of my screen
boundaries exept the white background pane which is at its right place.
when setting the rendering boundaries to 0.14... of the previosly used
chart size, the drawing might be in the right place, but the fonts are
shown 0.14...^-1 times larger as they should be. When moving the
displayed area of the enlarged page the chart is drawn always in the
same position on the screen and doesn't move around with the rest of the
page (This is where the translation comes into play).

Enrico

Am 30.09.09 17:07, schrieb Enrico Schnepel:
> Hello,
>
> I am using paperclips to print pages and show previews. Printing works well,
> but when previewing the transformation stored in the GC
> (gc.get/setTransform) is not respected. Instead everything is painted
> unscaled from the untranslated origin of the GC. This seems to be a bug. Any
> help is greatly appreciated.
>
> Enrico
>
>
Re: chart scaling problem (more precise problem description) [message #489117 is a reply to message #488932] Thu, 01 October 2009 14:20 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Enrico,

Can you open a bug for this?

Jason

Enrico Schnepel wrote:
> Hello again,
>
> to be more precise:
>
> A printer image GC is initiliazed with 300 dpi and scaled to fit into
> the screen and thus having a scaling factor of about 0.14... . Birt
> draws a chart on the printer image GC without any scaling/translation
> and therefore - after drawing the image on the screen - out of my screen
> boundaries exept the white background pane which is at its right place.
> when setting the rendering boundaries to 0.14... of the previosly used
> chart size, the drawing might be in the right place, but the fonts are
> shown 0.14...^-1 times larger as they should be. When moving the
> displayed area of the enlarged page the chart is drawn always in the
> same position on the screen and doesn't move around with the rest of the
> page (This is where the translation comes into play).
>
> Enrico
>
> Am 30.09.09 17:07, schrieb Enrico Schnepel:
>> Hello,
>>
>> I am using paperclips to print pages and show previews. Printing works
>> well,
>> but when previewing the transformation stored in the GC
>> (gc.get/setTransform) is not respected. Instead everything is painted
>> unscaled from the untranslated origin of the GC. This seems to be a
>> bug. Any
>> help is greatly appreciated.
>>
>> Enrico
>>
>>
>
Re: chart scaling problem (more precise problem description) [message #489310 is a reply to message #489117] Fri, 02 October 2009 11:36 Go to previous messageGo to next message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
Done.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=291152

Enrico

"Jason Weathersby" <jasonweathersby@windstream.net> schrieb im Newsbeitrag
news:ha2dmv$u7m$2@build.eclipse.org...
> Enrico,
>
> Can you open a bug for this?
>
> Jason
>
> Enrico Schnepel wrote:
>> Hello again,
>>
>> to be more precise:
>>
>> A printer image GC is initiliazed with 300 dpi and scaled to fit into the
>> screen and thus having a scaling factor of about 0.14... . Birt draws a
>> chart on the printer image GC without any scaling/translation and
>> therefore - after drawing the image on the screen - out of my screen
>> boundaries exept the white background pane which is at its right place.
>> when setting the rendering boundaries to 0.14... of the previosly used
>> chart size, the drawing might be in the right place, but the fonts are
>> shown 0.14...^-1 times larger as they should be. When moving the
>> displayed area of the enlarged page the chart is drawn always in the same
>> position on the screen and doesn't move around with the rest of the page
>> (This is where the translation comes into play).
>>
>> Enrico
>>
>> Am 30.09.09 17:07, schrieb Enrico Schnepel:
>>> Hello,
>>>
>>> I am using paperclips to print pages and show previews. Printing works
>>> well,
>>> but when previewing the transformation stored in the GC
>>> (gc.get/setTransform) is not respected. Instead everything is painted
>>> unscaled from the untranslated origin of the GC. This seems to be a bug.
>>> Any
>>> help is greatly appreciated.
>>>
>>> Enrico
>>>
>>>
>>
Re: chart scaling problem (more precise problem description) [message #489369 is a reply to message #489310] Fri, 02 October 2009 15:49 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks

Enrico Schnepel wrote:
> Done.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=291152
>
> Enrico
>
> "Jason Weathersby" <jasonweathersby@windstream.net> schrieb im Newsbeitrag
> news:ha2dmv$u7m$2@build.eclipse.org...
>> Enrico,
>>
>> Can you open a bug for this?
>>
>> Jason
>>
>> Enrico Schnepel wrote:
>>> Hello again,
>>>
>>> to be more precise:
>>>
>>> A printer image GC is initiliazed with 300 dpi and scaled to fit into the
>>> screen and thus having a scaling factor of about 0.14... . Birt draws a
>>> chart on the printer image GC without any scaling/translation and
>>> therefore - after drawing the image on the screen - out of my screen
>>> boundaries exept the white background pane which is at its right place.
>>> when setting the rendering boundaries to 0.14... of the previosly used
>>> chart size, the drawing might be in the right place, but the fonts are
>>> shown 0.14...^-1 times larger as they should be. When moving the
>>> displayed area of the enlarged page the chart is drawn always in the same
>>> position on the screen and doesn't move around with the rest of the page
>>> (This is where the translation comes into play).
>>>
>>> Enrico
>>>
>>> Am 30.09.09 17:07, schrieb Enrico Schnepel:
>>>> Hello,
>>>>
>>>> I am using paperclips to print pages and show previews. Printing works
>>>> well,
>>>> but when previewing the transformation stored in the GC
>>>> (gc.get/setTransform) is not respected. Instead everything is painted
>>>> unscaled from the untranslated origin of the GC. This seems to be a bug.
>>>> Any
>>>> help is greatly appreciated.
>>>>
>>>> Enrico
>>>>
>>>>
>
>
Previous Topic:Problems upgrading from BIRT 2.3.1 to BIRT 2.5
Next Topic:Birt Viewer throws exception behind RedirectMatch and ProxyPassReverse?
Goto Forum:
  


Current Time: Wed Apr 24 20:56:06 GMT 2024

Powered by FUDForum. Page generated in 0.02958 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top