help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DocView face - change of colors


From: Colin Baxter
Subject: Re: DocView face - change of colors
Date: Tue, 13 Jun 2023 14:14:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]