[RkWard-devel] new export plugin

Prasenjit Kapat kapatp at gmail.com
Sat Feb 24 01:09:22 UTC 2007


Hi Thomas,
On Friday 23 February 2007 15:09, Thomas Friedrichsmeier wrote:
> What's your take on integrating
> the old export plugin, i.e. dev2bitmap support using ghostscript? To me, it
> looks like that would probably be a good idea, in fact. There could be an
> addtional "via ghostcript" choice for the format, then an input to specify
> the ghostscript format id (the pre-set choices from the old plugin are
> already covered, so we wouldn't really need those). All other options are
> already covered in the PS/PDF options, except that a resolution could also
> be specified in this case. Not sure where that would be placed in the GUI.
> Anyway - would you like to try this, or would you rather move on to
> something else?

Let me try and give it a shot.

>
> Two more nitpicks:
> 1) The mode for the <browser> should probably be "savefile" instead of
> file. It does not currently make any difference, but likely it will, later
> (such as ask for overwriting, caption of the dialog...). Also <browser>
> does not acutally have a "size" attribute (it will just take all the width
> it can get), so it should be removed (I see that I've done both mistakes in
> the old export plugin as well).

Done.

> 2) You may want to round() (from PHP) the calculated width and height for
> JPEG/PNG. It doesn't really matter, but for instance if you enter 6.1
> inches for height, you currently get 585.6 in the generated code.

Done.




More information about the Rkward-devel mailing list