From: "address@hidden" <address@hidden>
To: address@hidden
Sent: Wednesday, January 4, 2012 9:20 AM
Subject: pspp-dev Digest, Vol 97, Issue 1
Send pspp-dev mailing list submissions to
address@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/pspp-devor, via email, send a message with subject or body 'help' to
address@hiddenYou can reach the person managing the list at
address@hiddenWhen replying, please edit your Subject line so it is more specific
than "Re: Contents of pspp-dev digest..."
Today's Topics:
1. Autogenerating screenshots (John
Darrington)
----------------------------------------------------------------------
Message: 1
Date: Wed, 4 Jan 2012 15:39:14 +0000
From: John Darrington <
address@hidden>
To:
address@hiddenSubject: Autogenerating screenshots
Message-ID: <
address@hidden>
Content-Type: text/plain; charset="us-ascii"
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshots.tar.gz
Type: application/octet-stream
Size: 2861713 bytes
Desc: not available
URL: <http://lists.gnu.org/archive/html/pspp-dev/attachments/20120104/fb949e50/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-a-new-infrastructure-to-autogenerate-screensho.patch
Type: text/x-diff
Size: 10359 bytes
Desc: not available
URL:
<http://lists.gnu.org/archive/html/pspp-dev/attachments/20120104/fb949e50/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.gnu.org/archive/html/pspp-dev/attachments/20120104/fb949e50/attachment.pgp>
------------------------------
_______________________________________________
pspp-dev mailing list
address@hiddenhttps://lists.gnu.org/mailman/listinfo/pspp-devEnd of pspp-dev Digest, Vol 97, Issue 1
***************************************