In article <[EMAIL PROTECTED]>,
   Adam Blokus <[EMAIL PROTECTED]> wrote:

> To have at least this done, I have added the Export tab to the gtk
> options. I had some doubts whether some of them (or maybe all so that
> everything would be in one place) should get in a separate dialog
> showing up each time an export to pdf is performed. I am waiting for
> your comments :)

I think having those options where they are is fine. I'd only move the
options to a dialogue that shows up each time an export is performed if
you also implement a preview thing. So you could see visually how the
options affect the page layout.

About the options themselves:

+ I'd use the same default directory that is configured for downloads, and
  remove the default directory option from the Export section.

+ After a clean install, the Scale option defaults to 0%, which means that
  all PDFs show up completely blank. Clicking on the "Default" button sets
  it to 70%, which works. It should be given the 70% value initially.

+ The units for margins is currently 'px', which does not make much sense
  for paper or print. I'd change the units to 'cm' or 'in'.

+ The default filename for saved PDFs is currently 'out.pdf'. You should
  use the url_nice() function to give you a nice filename from the URL.
  Set it to strip extensions, because you'll be adding '.pdf' to the end.

-- 

Michael Drake (tlsa)                  http://www.netsurf-browser.org/


Reply via email to