Usual disclaimer:
These scripts will replace a software component of your M92 firmware. Things may break.
Therefore: backup your precious data before using it.
If you're worried about safety/security: take a look at the source.
If you are not able to and/or are still worried: don't use it.
I hacked this for myself and provide the software as-is - I won't guarantee its fitness or correctness, although I did some effort inserting basic sanity checks. I won't accept liability for lost data or broken devices.

If you still wish to use the software, please read the entire README before doing so.
Enjoy.



Most important stuff first (recovery):
Though I don't see how things could go wrong, I included some scripts to backup the component being replaced. If even these should fail, a firmware reinstallation should fix things.
	backup_pdf_tools.oar - creates a backup copy "pdf_tools.back" of the replaced component in the current directory
	restore_pdf_tools.oar - restores this backup copy to its original location (NOTE: this does not 'uninstall' color_pdf_reader, but will disable it)
Use backup_pdf_tools.oar prior to installation to be ready if anything should go wrong.



What it does:
I'm afraid it's a bit of a hack... unfortunately Onyx doesn't show more grayscale options in the scribble menu and doesn't release gui_shell and naboo_reader components, so I had to use what was there.

It replaces Onyx's pdf merging component and translates annotations into different colors when 'merging' annotations into new pdfs.
Essentially, it interprets scribble 'shape' (line width) as color information on 'black' strokes.
Chosen Shape: Result in merged PDF
-------------------------------------
Shape 1: thinnest line width (red)
Shape 2: thinnest line width (green)
Shape 3: thinnest line width (blue)
Shape 4: thinnest line width (black)
Shape 5: thickest line width (black)

White scribbles are unmodified.
You can switch between ColorPDFTools and Onyx's version after installation (see below)



Installation/deinstallation/switch:
	check_used_version.oar - shows you whether ColorPDFTools are installed and which version you're using right now
	use_color_pdf_tools.oar - installs ColorPDFTools (if they aren't already installed) and configures device to use them
	use_onyx_pdf_tools.oar - configures device to use the original Onyx version of PDFTools
	uninstall_color_pdf_tools.oar - uninstalls ColorPDFTools and restores the Onyx version

(Note: as this is based on Onyx's version of PDFTools, it shares its bugs (notably the one where sometimes (rarely) scribble lines are omitted in the resulting PDF)
