Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inverted color mode to gl platform #2

Closed
wants to merge 2 commits into from
Closed

Add inverted color mode to gl platform #2

wants to merge 2 commits into from

Conversation

arbitrary-dev
Copy link

No description provided.

@arbitrary-dev arbitrary-dev changed the title add inverted color mode to gl platform Add inverted color mode to gl platform Sep 13, 2017
@ccxvii
Copy link
Contributor

ccxvii commented Sep 20, 2017

I have implemented this in commit bff6d16, as well as adding a command line option (-I) for starting in inverted color mode, and applying a gamma correction curve to have better text anti-aliasing when the colors are inverted.

@ccxvii ccxvii closed this Sep 20, 2017
chris-liddell pushed a commit that referenced this pull request May 21, 2021
The purpose of a "snapshot" save is to allow us to dump the current
state of a PDF document (including edits, but excluding undo/redo
history) in such a way that the version in memory remains unchanged.

There are a couple of use cases for this:

1) Load a form, fill in some fields, print it. In order to do the
print, we need to save the document as a standard valid PDF to send
to a remote print service. After printing, if we then edit the
document some more and save it out, we only want to see 1 incremental
section used, rather than 2 (i.e. the saving for printing should not
cause the 'underlying' document to be updated).

2) When running as an app on a mobile device, when we are put into
the background, we need to save our state so that if the app is killed
and later restarted, we can pick up where we left off. Again this
should not involved writing a new incremental section to the document.

This commit solves for case #1.

Case #2 will require this, plus both the ability to save undo/redo
history, and the ability to 'reopen' the last incremental update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants