[Uml-devel] Re: kdesdk/umbrello/umbrello

Achim Spangler Achim.Spangler at mnet-online.de
Tue Apr 27 06:28:04 UTC 2004

Hi Jonathan,
my patch is usable! It produces scaled print ( at least for me ).

IMHO it is better than the previous solution with static distribution of a 
diagram to several pages. It provides a fine scaled print for the diagrams of 
my project.

But my solution should be extended by the selection of a min fontsize. This 
fontsize should be configurable for global umbrello and specific for a 
TODO for this extension:
1) extend dialogs for global and diagram settings with min fontsize
    ( -> limit scaling so that limit is not underrun; distribute content
           on several pages, if needed )
2) extend classes to reflect this config settings ( like line width )
3) extend print method to reflect the fontsize limit

Maybe we could simply provide a print dialog setting, where the user can 
decide between:
+ constant unscaled print with distribution on several pages
+ scaled print to one page

I titled my patch as "rough hack" as it is not quite gentle to deactivate the 
distribution to several pages without providing a user selection between both 

So I suggest to ask the users, if the scaling to one page deliveres acceptable 
results for their projects.
If yes - fine.
If no -> either extend quickly by font size limit, revert to old strategy or 
provide runtime slection of strategies.


Am Dienstag, 27. April 2004 14:01 schrieb Jonathan Riddell:
> On Fri, Apr 09, 2004 at 07:28:14PM +0200, Oliver Kellogg wrote:
> > CVS commit by okellogg:
> >
> > Apply ScaledPrintFixed.diff by Achim Spangler.
> Achim did say that this patch was not for applying in it's current
> state.  Is there any way to actually use this code as it stands? There
> doesn't seem to be a way to enable scaled print.
> Jonathan
> -------------------------------------------------------
> This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
> For a limited time only, get FREE Ground shipping on all orders of $35
> or more. Hurry up and shop folks, this offer expires April 30th!
> http://www.thinkgeek.com/freeshipping/?cpg=12297
> _______________________________________________
> Uml-devel mailing list
> umbrello-devel at kde.org
> https://mail.kde.org/mailman/listinfo/umbrello-devel

More information about the umbrello-devel mailing list