From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: DocView face - change of colors Date: Tue, 13 Jun 2023 14:14:26 +0100 Message-ID: <87v8fr5wst.fsf@yandex.com> References: <87fs6wc0hy.fsf@yandex.com> <878rcosb98.fsf@ledu-giraud.fr> Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9262"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) Cc: Manuel Giraud To: Manuel Giraud via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 13 15:15:21 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q93rl-0002Dm-MJ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Jun 2023 15:15:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q93r9-000819-Io; Tue, 13 Jun 2023 09:14:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q93r5-00080Z-Vf for help-gnu-emacs@gnu.org; Tue, 13 Jun 2023 09:14:39 -0400 Original-Received: from forward500c.mail.yandex.net ([178.154.239.208]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q93r3-000673-20 for help-gnu-emacs@gnu.org; Tue, 13 Jun 2023 09:14:39 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:150a:0:640:1aa5:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id A50CB5EC21; Tue, 13 Jun 2023 16:14:28 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id QEant8tW1eA0-fwXx1v8h; Tue, 13 Jun 2023 16:14:28 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1686662068; bh=Q09Uz4WKDn5cmLtGvl5wHgTXo9yGUW5pBZBvmTMiKhQ=; h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To: From; b=WjP+SSEpoPE7vny2MpN3tZqbG8CQhfI4u+YuGSI7BANjixBhG3vDY4a5+nh28O9eq iY12J9t5TB7eXzD5dFDqqN7UchyAAXIcYENh5jxWReKf0kEDL9iM3KPHWj4jhY3fCx LR/OdDN1Ckrd3ZgsS3wfyqhCV7ZLUfwscuThWJZA= Authentication-Results: mail-nwsmtp-smtp-production-main-60.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.com 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") X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=178.154.239.208; envelope-from=m43cap@yandex.com; helo=forward500c.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143931 Archived-At: Dear Manuel, >>>>> Manuel Giraud via Users list for the GNU Emacs text editor writes: > Colin Baxter 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.