Re: Highlevel printing API - proposal



On Wed, 2006-01-25 at 22:15 +0100, Petr Tomasek wrote:
> > The basic idea is that each time you want to print (i.e. when the user
> > selects File->Print) you create a new GtkPrintOperation, set various
> > information on it like:
> > * default page settings (size, orientation etc)
> 
> The default paper size should definitely be determined
> by locale, otherwise most applications will force us europeans
> to us this Us-shit(TM) instead of the standard A4 paper size...

If you actually look at the current code you'd see it defaults to A4 at
the moment. TAKE THAT USA! :)

On a more serious note, "default page settings" doesn't mean what you
think it does. Its the default page settings used for each page in the
print operation unless you override it on a per-page basis by handling
the "request_page_settings" signal.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a war-weary drug-addicted farmboy on the edge. She's a bloodthirsty 
winged mechanic with a knack for trouble. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]