unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Manuel Giraud via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: Manuel Giraud <manuel@ledu-giraud.fr>
Subject: Re: DocView face - change of colors
Date: Tue, 13 Jun 2023 14:14:26 +0100	[thread overview]
Message-ID: <87v8fr5wst.fsf@yandex.com> (raw)
In-Reply-To: <878rcosb98.fsf@ledu-giraud.fr> (Manuel Giraud via Users list for the's message of "Mon, 12 Jun 2023 21:58:59 +0200")

Dear Manuel,

>>>>> Manuel Giraud via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:

    > Colin Baxter <m43cap@yandex.com> writes:
    >> I notice in emacs-30.50.0, probably as a result commit
    >> 26740f30469, that my pdf files display as white text on a black
    >> background. I have reverted back to my desired setting of black
    >> text on white by putting the variable `doc-view-mupdf-use-svg' to
    >> nil, so it's not a problem for me right now. However, I worry if
    >> by setting doc-view-mupdf-use-svg to its non-default value I am
    >> storing up problems in the future.

    > Hi Colin,

    > I think you should keep `doc-view-mupdf-use-svg' to t by default.
    > The commit 26740f30469 have introduced a new face
    > `doc-view-svg-face' which you could use to customize how your
    > DocView documents are displayed.

    > By default, this new face inherits from the default face.  So I
    > guess that you are using a "white on black" theme and that is why
    > your DocView are displayed with this theme too.  You could, for
    > instance, customize `doc-view-svg-face' like this:

    > (custom-set-faces '(doc-view-svg-face ((t (:background "white"
    > :foreground "black")))))

Great! Thank you so much for this. It works very well.

Best wishes,

Colin Baxter.



      reply	other threads:[~2023-06-13 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 12:45 DocView face - change of colors Colin Baxter
2023-06-12 19:58 ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-06-13 13:14   ` Colin Baxter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8fr5wst.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).