+ Also allow for SIGUSR1 to recalibrate (so rotate scripts could pkill
+ xournal). (cf #2944459). Recalibration probably requires talking directly
+ to X server to query input device geometry and compensate for GTK.
+
+TODO WITH IMAGE PATCH:
+TODO: paste and selresize don't put rectangle at top
+TODO: option for image mode to revert to previous tool
+
+BUGS:
+- lingering issues with synaptics touchpads? (#2872667)
+ (todo) - set device to Absolute mode at startup? (GDK doesn't expose API,
+ cf XSetDeviceMode() in /usr/include/X11/extensions/XInput.h)
+- color picker into canvas doesn't work in GTK+ 2.16 (should disable
+ xinput first?)
+- export to PDF should see cropbox size if smaller, and map the
+ cropbox -- not the entire page -- to the page area! (2009-11-18 forum)
+
+BEHAVIOR TODO:
+- option to have "Save Prefs" save current brushes as settings, not defaults
+- method to map more general devices to specific tools or to Ignore
+ (e.g.: X220T ignore trackpoint; map touchscreen to Hand, eraser to Eraser)
+
+WIN32:
+- test further
+- write an installer
+- bug: opening files with accents in name?
+- bug: cairo-scaled-font in printing? (2009-11-18 bug tracker)
+- bug: printf() sometimes generates stroke coordinates 1.#J -1.#J (???)
+ (filter out inf, -inf, nan, very large values when saving ???)
+
+PATCHES TO INCORPORATE:
+
+- ezyang e-mail of 11/28/2011: patches in Ubuntu to fix PDF showing up?
+http://archive.ubuntu.com/ubuntu/pool/universe/x/xournal/xournal_0.4.5-3.debian.tar.gz
+actually not necessary anymore? (ezyang 12/2/2011)
+
+- tauu e-mail of 12/1/2011: 8 small patches for win32, uploaded on tracker
+https://sourceforge.net/tracker/index.php?func=detail&aid=3447356&group_id=163434&atid=827735
+
+- patch: add Alt-Up/Dn accelerators for show/hide layer. See
+ show_hide_layer.patch
+
+* my own patch noresize_background_v1.patch (also in xournal-working/)
+
+** patch: ortho/snap (revised Apr 13 2009)
+ xournal_ortho_snap_patch_4 (by Josef Pavlicek)
+
+** patch (Ian-Woo Kim): multicolumn mode + LASSO SELECTION
+ xournal_lasso_multipage_zoom_button_20090620.patch
+
+** autosave patch (Edward Yang) (should fix: optional only, w/ menu + cfgfile
+ entries; fix: should clean up autosave.xoj.bg* files too; config interval)
+ 0001-Implement-autosave-for-documents-revised.patch (2 seconds after
+ modification, vs original 5 seconds)
+ *** NEW VERSION: #2881919 (autosave for 0.4.5, w/ some changes)
+ NB: last modif should be triggered by prepare_new_undo() and undo/redo?
+ *** NEW VERSION: with threading, by Man, e-mail 12/10/2009 10:51pm
+
+** insert images patch (Victor Saase) #2890925
+** as improved by Simon Guest April 14 2010
+** modified rev2 May 14, 2010: xournal-0.4.5-sjg-image-rev2.patch.gz
+** rev6 by now...
+
+** customize paper ruling (Gautam Iyer e-mail Nov 30 2009 / SF tracker)
+
+** cairo export to PNG (Man = Paulo Neves, e-mail Feb 3 '10, saved as
+ cairo-png-rendering.diff.txt (refactor printing of page to cairo surface
+ with the gtk-print code).
+
+- patch by S. Guest
+ shortcut to increase/decrease text font size by 1 point (?) - acts just
+ as if one had clicked font sel box and resized (affects sel text + cur font)
+
+- make line spacing in text objects customizable: to a fixed scaling factor,
+ a fixed number of units, or the paper ruling (esp. the latter!!)
+
+- page size dialog box should have a check button to keep background size
+ the same (so rescaling creates margin around bitmap or PDF background).
+ This will need an extension to the file format, to allow a page background
+ to have a different size from the page itself.
+
+- option to map device named "touch" to hand tool? (like "Eraser tip")
+
+
+- roadmap towards SVG support: see 1/25/2010 Mark Edgington email & reply
+ (1) export to SVG (using pages and groups for pages and layers;
+ use comment tags to make export nonlossy;
+ (2) import from this subset of SVG;
+ (3) add SVG to the file-open and save formats
+
+- roadmap towards PDF encapsulation: see 1/29/2010 forum posts
+ When exporting to PDF, don't just append our annotations as PDF code but
+ also include the .xoj file within the pdf, and ensure the initial pdf is
+ well-delimited from the rest. When opening a PDF that includes such
+ markings, discard the annotation part of the PDF and open the embedded xoj
+ instead. Later, offer such PDF as a file-open and save format (even when
+ there's no PDF background being annotated!!).
+
+*** should have Open, Save, Save As manipulate at least 3 formats:
+ - XOJ
+ - PDF with embedded xoj file in an object (opens with annot. in PDF viewer,
+ with background only + separate xoj in xournal)
+ - SVG (subset only)
+ additionally, should have "print to": printer, PDF, SVG, bitmap.
+
+- allow djvu and other backgrounds (but then can't export to PDF)