Re: [Gnome-print] Apps using gnome-print



> Are there any reason, gnome-print-xxx methods do not test the presence of
> applicable method, i.e.
> 
> if (GNOME_PRINT_CONTEXT_CLASS (((GtkObject *) pc)->klass)->xxx)
> 	  GNOME_PRINT_CONTEXT_CLASS (((GtkObject *) pc)->klass)->xxx)(args)

Well, that would be a really really backend feature.  

Basically, the methods should *always* work, no matter what the driver
supports or not.

> Plus:
> Shouldn't gnome_print_textline be actually implemented as wrapper? Or at
> least have wrapper, so if object class does not support it, we can
> render it using gsave/grestore/concat/setfont etc...

Yes.

But actually, I do not think we even should support textline at all.
I would like to remove it.

Miguel.




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