pspp-dev
[Top][All Lists]
Advanced

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

Autogenerating screenshots


From: John Darrington
Subject: Autogenerating screenshots
Date: Wed, 4 Jan 2012 15:39:14 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

Attached is a patch which adds the ability for us to automatically generate 
screenshots
of the dialog boxes.

To use it, apply the match, then "make install; make screenshots".  This will 
generate
a directory full of .xwd files (which you can convert to .png using your 
favorite 
image manipulation tool).

I'm hoping this will help, amongst other things, in GUI documentation.  It 
includes the
ability to generate for various widget themes/styles.  I've included three of 
them:
"default" (what I see on my unmodified system - probably best for online 
documentation), 
"dark" (a white-on-black style - may be better for printed documentation) and
"high-contrast" (might be good for documentation printed with low quality 
printers).

Some of the limitations:

* It depends on xvfb being installed and probably a few other things.

* The generated screenshots show unpopulated dialogs, whereas we probably want
  some realistic data for tutorial documentation.  I think it is perhaps 
possible
  to fix this later.

* Some of the screenshots are not complete (in cases where we've used funny 
methods
  to create them).


Selma was talking about having screenshots with red circles to draw the reader's
attention to areas of interest.  I think it will be reasonably easy to 
post-process
the images with Gimp or Imagemagick to achieve this.

Comments?


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: screenshots.tar.gz
Description: Binary data

Attachment: 0001-Added-a-new-infrastructure-to-autogenerate-screensho.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]