View Single Post
Old 09-27-2017, 08:17 PM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,672
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by bookivore View Post
color: white; /* Won't affect fg of main text area. Why? */
There is no one-size-fits-all foreground "color" property for the QPlainTextEdit widget that Book View is based on. Many different portions of text can be many different colors. It's the underyling QTextDocument that provides the colors of the text. That document is created from the rendered (by QtWebKit) html/css of the EPUB currently open.

In short: it's the current epub's html/css that determines what color(s) the text in Book View will be. And it defaults to black text on white background.
DiapDealer is offline   Reply With Quote