SumatraPDF Invert Colors Not Working: How to Fix It

  • Test Shift + I with a simple black-text PDF first.
  • Check FixedPageUI settings, saved file state, and portable installations.
  • Learn why scans, colored pages, and printing produce different results.

When SumatraPDF does not invert colors, the cause is usually narrower than it first appears. The invert command may not be reaching the active document, a fixed-page color setting may be overriding the expected result, the source may contain scanned images or colored page artwork, or SumatraPDF may be loading saved state from a different installation or settings file. Inversion is also a display preference, not a permanent edit to the PDF, so printing or opening the file elsewhere can produce a different result.

The fastest approach is to test one simple PDF first, identify whether the failure affects every document or only one format, and then change a single setting at a time. Once a plain black-text PDF displays with a dark page and light text, stop changing global settings. Any remaining difference is likely tied to the original document rather than SumatraPDF as a whole.

PDF page shown in normal and inverted color modes during a simple document test.

1. Confirm the Symptom With a Simple Document Test

Before editing configuration files or reinstalling the application, determine whether color inversion is failing globally or only with a particular document. Complex PDFs can contain photographs, scanned pages, transparency, colored backgrounds, annotations, and embedded graphics. These elements make them poor diagnostic files.

1.1 Test a basic black-text PDF

Open a small PDF containing ordinary black text on a white page. A PDF exported from a basic word-processing document is suitable. Avoid using a scan, comic, presentation, engineering drawing, or form for this first test.

  1. Open the simple PDF directly in SumatraPDF.
  2. Click inside the document so the viewer has keyboard focus.
  3. Press Shift + I, which invokes the CmdInvertColors command.
  4. Observe the page itself, not just the toolbar, tabs, or window frame.
  5. Press Shift + I again to compare the two states.

Success means the white page becomes dark and the black text becomes light, then returns to its original appearance when the command is pressed again. If this works, SumatraPDF's inversion command and fixed-page renderer are functioning. Stop changing global settings and investigate the original file instead.

If nothing changes, verify that the document pane is active. A menu, search box, text field, or another application can capture the shortcut. You can also invoke the invert-colors command from SumatraPDF's menu if it appears in your build. Using the menu separates a shortcut-focus problem from a rendering problem.

1.2 Check whether only the interface changed

SumatraPDF's interface theme and its document color inversion are separate features. A dark toolbar or dark application window does not prove that PDF pages are inverted. Likewise, using the invert command can change fixed-page content without changing the surrounding interface.

Judge the result by looking at the rendered page. For a standard black-on-white PDF, successful inversion should visibly change both the page background and its text. If only the application chrome changes, you adjusted the theme rather than the fixed-page inversion setting.

2. Check the Command, Fixed-Page Settings, and Document Format

SumatraPDF uses different user interfaces and rendering paths for different document families. PDF, XPS, DjVu, and comic-style pages are fixed-page content, while some eBook formats can use reflowable text. The FixedPageUI configuration is therefore particularly relevant to PDFs and other fixed-layout documents.

2.1 Verify Shift + I and CmdInvertColors

The command name associated with inversion is CmdInvertColors. The standard keyboard action is Shift + I. Press the keys while the document pane is focused and test the command twice. The second press should restore the previous display.

If the command works intermittently, check whether another Windows utility is intercepting the shortcut. Keyboard remappers, macro programs, accessibility tools, remote-desktop software, and vendor keyboard utilities can capture key combinations before SumatraPDF receives them. Temporarily pause the relevant utility, return focus to the document, and test again.

Success means the same open page switches predictably between normal and inverted rendering. Once that happens, there is no reason to reinstall SumatraPDF merely because one complicated document still looks unusual.

2.2 Review FixedPageUI color settings

Advanced settings can define colors used by the fixed-page interface. Depending on the SumatraPDF build and existing configuration, the FixedPageUI block can contain values such as text, background, selection, and inversion preferences. Custom colors may make inversion appear ineffective if the normal and inverted combinations are too similar.

Open SumatraPDF's advanced settings through its settings menu rather than guessing where the file is stored. Locate the FixedPageUI section and look for custom color values or an InvertColors entry. Preserve a backup before editing anything.

For diagnosis, return unusual text and background colors to known defaults or remove only the custom entries that you previously added. Do not paste an entire configuration from an unrelated SumatraPDF version. Available settings can change, and an old example may include unsupported options.

Restart SumatraPDF after saving the file, reopen the simple test PDF, and press Shift + I. Success means the test page now changes clearly between normal and inverted states. Stop editing when this works.

2.3 Confirm which program actually opened the file

A PDF can look as though it opened in SumatraPDF while actually being displayed by a browser, preview pane, email client, or another registered reader. This is especially easy to miss when opening an attachment or a download from a browser.

Check the active window title and SumatraPDF menus. For a definitive test, start SumatraPDF first and use its open command to select the file. If that works, but double-clicking the same PDF does not, the problem is the Windows file association rather than color inversion.

Set SumatraPDF as the default app for the relevant extension only if that is your preference. Remember that PDF, XPS, DjVu, CBZ, EPUB, and other extensions can each have separate Windows associations.

2.4 Distinguish fixed pages from reflowable content

Do not assume that every format will respond identically. A PDF page has a fixed composition, while an eBook can expose text and background styling through a different interface. Test the failing format separately and avoid using an EPUB result to diagnose a PDF setting.

If PDF inversion works but a particular eBook does not, inspect the settings associated with that format's user interface. If only a comic or image document looks wrong, the image content itself may explain the result.

Comparison of a clean text PDF and a scanned page after color inversion.

3. Account for Scans, Colored Pages, and External Factors

Some apparent inversion failures are accurate rendering of complicated source material. Understanding what the page contains can prevent unnecessary changes to SumatraPDF or Windows.

3.1 Image-only PDFs and scanned pages

A scanned PDF often contains a full-page photograph rather than separate text and background objects. Inverting that page transforms every pixel. Black text may become light, but paper discoloration, shadows, stamps, photographs, and scanner noise are inverted too. The result can look blue, orange, washed out, or harsh.

Zoom in on the text and try selecting individual characters. If text selection does not behave like ordinary text, the page may be an image. Some scans include a hidden OCR text layer, but the visible page can still be a bitmap.

Success for an image-only PDF does not necessarily mean a clean black background with white text. It means the image colors visibly reverse. If the simple black-text PDF inverts correctly, stop changing SumatraPDF settings. The scan's pixel content is responsible for the unusual appearance.

3.2 PDFs with colored backgrounds and artwork

Documents designed with colored paper, gradients, diagrams, photographs, or presentation-style backgrounds will not become a uniform dark-reading layout. Inversion maps existing colors to contrasting values. A dark blue background may become light or yellowish, and a photograph will appear like a negative.

If only part of a page changes, the document may combine vector text, bitmap images, transparency groups, annotations, or form controls. These components can be composed differently by the renderer. Compare several pages and test the latest stable SumatraPDF release if the behavior appears to be a rendering defect, but do not expect inversion to redesign the document.

3.3 Document permissions and restrictions

Display inversion ordinarily changes how SumatraPDF renders a page on screen. It does not rewrite the source file. A protected document may restrict editing, copying, or printing, but you should not attempt to bypass those restrictions.

If the file opens normally and the simple test PDF inverts, treat restrictions as a separate issue. Follow the document owner's permissions and request an accessible or alternative copy when necessary.

3.4 Ghostscript, codecs, printer drivers, and external tools

For ordinary on-screen PDF inversion, printer drivers and Ghostscript are generally not the first things to troubleshoot. They become relevant when the symptom appears only during conversion, PostScript handling, printing, or an external workflow. Image codecs may matter when a particular image format fails to decode, but they do not usually explain why a normal text PDF ignores Shift + I.

Keep the test paths separate:

  • If the page does not invert on screen, focus on SumatraPDF's command, format, renderer, and settings.
  • If the page inverts on screen but prints normally, the screen preference is working. Investigate the print workflow.
  • If an externally converted file looks wrong, test the original file directly before changing SumatraPDF.
  • If only one image type fails, investigate decoding or source-file integrity rather than global inversion.

Success should be measured in the same place as the original symptom. A correct on-screen result proves the display command works, even if a printer or conversion utility produces different output.

4. Inspect or Reset SumatraPDF-settings.txt Safely

SumatraPDF stores preferences in a file commonly named SumatraPDF-settings.txt. The exact location depends on how the application is installed and launched. Installed and portable copies can use different settings files, which explains why a change sometimes appears not to persist.

4.1 Find the settings file used by the running copy

Use SumatraPDF's advanced-settings command to open the active configuration whenever possible. This is safer than searching Windows and editing the first similarly named file you find.

Before editing, close extra SumatraPDF windows and make a copy of the file with a clear backup name. Then confirm that the file's modified time changes when you save a small, reversible preference through the application. This helps establish that you are working with the active settings file.

4.2 Check installed versus portable mode

A portable SumatraPDF copy can live beside its own configuration, while an installed copy commonly uses the current Windows user's application data. Pinning one copy to the taskbar and double-clicking files with another can create the impression that settings are being ignored.

Check the executable path in Task Manager or inspect the shortcut's target. Close all SumatraPDF processes, launch the intended executable directly, and open the simple test PDF from inside it. If inversion now persists, remove or relabel obsolete shortcuts so that you do not alternate between installations.

4.3 Understand when saved file state wins

SumatraPDF can remember state associated with previously opened files. Depending on the setting and application behavior, a remembered per-file state can take precedence over the general display state you expected. This can make a familiar PDF reopen differently from a new one.

Test an entirely new simple PDF with a different filename. If the new file honors inversion but an old file does not, review the remembered file state in the settings file after creating a backup. Remove only the entry associated with the problem document if you can identify it confidently. Otherwise, use the clean temporary test described below.

Success means both newly opened and previously opened test files respond consistently. Once they do, stop deleting history or preference entries.

4.4 Reset only after making a backup

If the active settings file appears corrupted or contradictory, exit SumatraPDF completely, rename SumatraPDF-settings.txt instead of deleting it, and relaunch the application. SumatraPDF can then create a fresh configuration using defaults.

Open the simple PDF and test Shift + I before restoring any customizations. If inversion works with the fresh file, the old configuration caused the problem. Reapply preferences gradually rather than copying the entire old file back.

If inversion still fails with a fresh settings file, restore the backup if desired and continue to a clean executable test. Repeatedly deleting the same file will not reveal anything new.

5. Run a Clean Temporary Test Before Reinstalling

A clean test separates application files from user settings without immediately disturbing your everyday setup. It is more informative than repeatedly reinstalling over the same configuration.

  1. Download the current stable SumatraPDF package from the official website.
  2. Use a separate portable location that does not overwrite your existing installation.
  3. Close all currently running SumatraPDF processes.
  4. Start the temporary copy directly from its executable.
  5. Open a newly created black-text PDF from inside the application.
  6. Press Shift + I and compare the page before and after.

If inversion works in the clean copy, Windows graphics output and the test document are probably fine. Compare executable paths and settings locations between the working and nonworking copies. The likely cause is an old configuration, conflicting saved state, or launching a different installation than expected.

If the clean copy also fails, test another simple PDF and confirm the shortcut is reaching the program. A reproducible failure across clean settings and ordinary PDFs may justify reporting the issue to the SumatraPDF project. Include the document type, exact steps, whether the menu command behaves differently, and whether the problem occurs only in one file. Do not share confidential documents.

6. Quick Fix Checklist

  • Open a basic black-text PDF directly inside SumatraPDF.
  • Click the document pane and press Shift + I.
  • Confirm that you are testing page colors, not the application theme.
  • Verify that the active window is SumatraPDF rather than a browser or preview pane.
  • Check whether the failing PDF is a scan or full-page image.
  • Expect colored artwork and photographs to invert like image negatives.
  • Review custom colors and InvertColors under FixedPageUI.
  • Open advanced settings from the running application to find the active settings file.
  • Check whether installed and portable copies use different configurations.
  • Test a new filename in case remembered file state affects the old document.
  • Rename the settings file only after making a backup and closing SumatraPDF.
  • Run a clean portable copy before reinstalling your normal installation.
  • Do not expect display inversion to edit, save, or permanently recolor the PDF.
  • Stop changing global settings as soon as the simple PDF inverts correctly.

7. Frequently Asked Questions

7.1 Does SumatraPDF inversion permanently change the PDF?

No. Invert colors is a viewing preference that changes how fixed-page content is rendered on screen. It does not normally rewrite the source PDF. Opening the file in another reader, attaching it to an email, or inspecting the original file should show the original colors.

7.2 Why does the PDF print without the inverted colors?

On-screen inversion is not the same as editing page content. A printer or PDF printer can receive the document's original colors rather than SumatraPDF's display transformation. If the screen looks correct but printing does not, inversion itself is working. Investigate print options or create an authorized accessible source document instead of treating the display preference as a document conversion.

7.3 Why does only part of the page invert?

The page may combine text, vector graphics, images, transparency, annotations, or interactive form elements. Different components can produce different visual results when transformed. Test a simple text PDF. If that file inverts fully, the partial result is specific to the complex document.

7.4 Why does a scanned PDF look strange after inversion?

A scan is usually an image of the entire page. Inversion reverses paper tones, shadows, photographs, stains, and compression artifacts along with the letters. Strange colors therefore indicate that the image is being inverted, not necessarily that the command failed.

7.5 Why does SumatraPDF forget my invert-colors setting?

You may be launching a different installed or portable copy, editing the wrong SumatraPDF-settings.txt file, or reopening a document with remembered state. Close all copies, launch the intended executable directly, open advanced settings from that instance, and test a newly named PDF.

7.6 Should I reinstall SumatraPDF immediately?

No. First test a plain PDF, verify Shift + I, inspect the active settings file, and run a separate clean portable copy. Reinstallation may leave user settings untouched, so it often fails to address configuration or saved-state problems. Reinstall only after the clean test indicates that the normal application files are the likely cause.


Citations

  1. Official documentation for SumatraPDF commands and keyboard shortcuts. (SumatraPDF Documentation)
  2. Official guidance for configuring SumatraPDF through advanced settings. (SumatraPDF Documentation)
  3. Official SumatraPDF download page for stable installed and portable packages. (SumatraPDF)
Cindy, ContentBASE creator assistant

MEET CINDY

Your ContentBASE creator assistant

Cindy helps creators find Canva templates, content ideas, and simple ways to make better social media posts faster.

Want ready-to-use templates? Claim the free Canva bundles or browse the full bundle store.