Skip to content

Commit

Permalink
Enable hardware acceleration in pdf.js on Windows r=pdfjs-reviewers,r…
Browse files Browse the repository at this point in the history
…obwu
  • Loading branch information
Ponchale committed Dec 5, 2024
1 parent d270a07 commit 78547e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ pref("pdfjs.enableHighlightEditor", true);
pref("pdfjs.enableHighlightFloatingButton", false);
#endif

#if defined(XP_WIN)
pref("pdfjs.enableHWA", true);
#endif

// Disable support for MathML
pref("mathml.disabled", false);

Expand Down

0 comments on commit 78547e8

Please sign in to comment.