[Uml-devel] [Bug 89553] what you see is not what you get when exporting to EPS

Achim Spangler Achim.Spangler at mnet-online.de
Mon Sep 20 10:04:17 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=89553        




------- Additional Comments From Achim.Spangler mnet-online de  2004-09-20 19:03 -------
Am Montag, 20. September 2004 18:41 schrieb Sebastian Stein:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=89553
>
>
>
>
> ------- Additional Comments From seb_stein gmx de  2004-09-20 18:41 -------
>
> Pekka JÀÀskelÀinen <pjaaskel cs tut fi> [040920 18:38]:
> > > Have you tried the latest CVS HEAD version? I have tested it with png
> > > and eps and it works. Here are my changes:
> >
> > Yes. It's CVS HEAD I tried. It did work for your resolution initially,
> > that's why I posted the samples how it looks like with my computer.
> >
> > > +        if (isEPS == true)
> > > +        {
> > > +                printer = new QPrinter(QPrinter::PrinterResolution);
> > > +        } else {
> > > +                printer = new QPrinter(QPrinter::ScreenResolution);
> > > +        }
> >
> > This is wrong. It doesn't lay out correctly for me.
>
> But it works for me, so it is not wrong ;-) No, it seems the problems lies
> somewhere else I would say.
>
> > +        if (isEPS == true)
> > +        {
> > +                printer = new QPrinter(QPrinter::ScreenResolution);
> > +        } else {
> > +                printer = new QPrinter(QPrinter::PrinterResolution);
> > +        }
>
> If I use those lines my diagram is too big and doesn't fit on a page.
This Problem must then be fixed by a custom page size ( the Qt-Doc describes 
it, I thought custom size is default ) or by adding the same scaling function 
to EPS export as used for normal printout. But the _slightly_ but existing 
disturbance of layout is caused by the too low resolution.
> So 
> the eps shows only a part of the diagram. In both cases it doesn't make any
> difference for the png export.
The other bitmap exports use a different function. The QPRinter part is - as 
far as I understand the code - ony used for EPS export.
The bitmap files are created by a Image class, and not by QPrinter.

Bye,
Achim




More information about the umbrello-devel mailing list