Quote:
Originally Posted by KevinH
Just for the record, I used the Print Preview to print the CodeView tab from the pd Alice in Wonderland xhtml page and after previewing it, I was able to then print directly from that dialog and redirect it to a pdf (long a built in feature of the os Print dialog on a mac).
Here is what I get. If I change to dark mode, all that changes are the syntax highlighting colours, not the text. The text stays black on a white background.
So this all appears to work as desired at least on my mac.
|
Got it. Good to know. I hadn't realized this was printing code view rather than the rendered text like the PageEdit version does. We modified that feature to make sure our injected dark mode stuff gets ignored, but there's no easy way to make the WebView-rendered stuff ignore css colors. So it will print those background/foreground colors that are specified in the css. Hence the warning. That feature shouldn't be hard to move to Sigil. It's basically two source files (.h + .cpp) and a MainWindow procedure (with a couple of global variables used).